Answered

Looping through a dataset

I have a testcase that can complete successfully for each single line in a dataset. However, I would like to add another layer so that based on an id reference in the first dataset, i would like the same test to loop through another dataset (different lines based on the same id) for additional updates. How can I do this?
Eg.,
Dataset One with ID field = A001 has 3 lines in Dataset Two
Testcase
Add a record for ID A001
Set var for ID - varID = A001
Referencing the varID, add 3 sub records in the same web page from Dataset Two based on the ID = varID
and so on....
Note: unable to close the page before saving all 3 added records, so cant rerun the test for Dataset One - ID A001 three times
Any tips? (also, not a developer, only using the UI)

0
2 comments
Avatar
Sonya Maniapoto

I figured out a way by inserting an If.  Missed the simplicity of that :-)

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Sonya,

We are glad that you figured a solution, please let us know if you require any help.

Thank you for using Subject7!

Regards,

Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.