This is a migrated thread and some comments may be shown as answers.

Looping over data driven values?

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lisa
Top achievements
Rank 1
Lisa asked on 18 Jan 2018, 03:15 PM

Is there any way to loop over a set of values in the data file? I don't mean run the same test several times by having several lines for the data file, but rather loop over a set of columns.

I have a set of elements that I could define using values in the data file, and I'd love to be able to just have a loop that goes through the data file, grabs those values and stops when it's done. Is that possible?

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 18 Jan 2018, 04:02 PM
Hi Lisa,

Thank you for the details shared. I am not sure I got the whole idea and requirements of the current scenario as it is sometimes quite hard to understand without an example. 

Although there is an approach to data drive a test in non-iterative approach - this is described here. Please take a look at it to find out whether it could be useful for you. 

Alternatively you might want to try changing the data source before each test run. How this could be achieved is described here

I hope any of these will help. Though in case of further questions or assistance required please do not hesitate to contact me back! Thanks! 

Regards,
Elena Tsvetkova
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Lisa
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or