Api test and datatable in ALM
Why is there no easy way to store testdata in ALM for API testing?
In GUI testing it is easy you use external datatable and thats that. But in API testing there seems to be no such way . It seems very odd to me.
The only way I have found is similiar to what I described here http://www.joecolantonio.com/2014/01/09/uft-api-how-to-data-drive-your-script-using-an-alm-resource/ and that doesnt seem to work unless you use BPT.
Please tell me I have missed how to just link my excel file to an API test without all the hassle of linking parameters back and forth
About the question to save the datatable from the API test into ALM, please note that there is no way to do it by using the UFT API interface. However there is a feature called “Data Awareness” the main purpose of which is to separate the data from the test and allow a different set of data to be used with that test, thus users may replace a test’s data with data from ALM.
Data Awareness basically will let you upload data resources, associate test data parameters with a data resource, create a specific data configuration to use with a test run, run a test or test set with different data configurations, etc.
You can find more information about this feature in UFT Product Movies: UFT menu >>Help >> Product Movies >> HP ALM Data Awareness for UFT.
Hope this helps!