Looping over data driven values?

2 posts, 0 answers
  1. Lisa
    Lisa avatar
    34 posts
    Member since:
    Nov 2017

    Posted 18 Jan Link to this post

    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?

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    939 posts

    Posted 18 Jan Link to this post

    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
     
Back to Top