Data-driven tests. Run initial steps once?

4 posts, 0 answers
  1. Kyle
    Kyle avatar
    15 posts
    Member since:
    Mar 2016

    Posted 04 Apr Link to this post

    I basically have this in my test:

     

    Logon

    Do other stuff (with data)

     

    How can i run Logon once, then run the "Do other stuff" step with each of the data rows?

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    253 posts

    Posted 07 Apr Link to this post

    Hello Kyle,

    Thank you for your interest in Telerik Test Studio. 

    To obtain the described scenario you have to create a test bound to your data with all repeating actions required. Then add this test as "Test as step" after the Logon in your other test. That will treat the data driven test as a single step and will execute only it multiple times. 

    Please let me know if that seems helpful in your case. 

    Hope to hear from you soon. 

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Kyle
    Kyle avatar
    15 posts
    Member since:
    Mar 2016

    Posted 04 May Link to this post

    Thanks, this worked. I personally found it easier in the end to just write the tests in code anyways, but this solved my problem.
  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    253 posts

    Posted 09 May Link to this post

    Hi Kyle,

    I am really glad to hear you were able to sort this out. Do not hesitate to contact us in case of any future questions. 

    Wish you great day ahead!

    Regards,
    Elena Tsvetkova
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top