UFT 11.51 API test – How to loop a test step and advance data table row
♥ 0 |
My API test connects to a database, runs a SELECT statement, closes the db connection. I want the SELECT step to iterate 3 times, issuing the same query but for a different value in the WHERE clause. The variable data is a "Developer Name". – I’ve put a loop around my select step. SELECT td.CHANGESET.CHS_DATE, td.CHANGESET.CHS_MESSAGE FROM td.CHANGESET WHERE td.CHANGESET.CHS_COMMITTER = ‘{DataSource.Developers.Developer Name}’ – I’ve verified that the loop properties are set to "Start at first row, forward 1 row, end at last row, wrap around". Yet, when I run the test, it does three iterations, but uses the same "Developer Name". The rows are not advancing. What am I missing? Thanks in advance.
Marked as spam
|