UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Absent Member.. Absent Member..
Absent Member..
158 views

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

0 Likes
1 Reply

Hi ihpv02oer,

 

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!

 

Thanks,

Hristo

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.