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

Data-driven tests. Run initial steps once?

3 Answers 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 04 Apr 2016, 03:58 PM

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?

3 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 07 Apr 2016, 11:31 AM
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!
0
Kyle
Top achievements
Rank 1
answered on 04 May 2016, 03:06 PM
Thanks, this worked. I personally found it easier in the end to just write the tests in code anyways, but this solved my problem.
0
Elena
Telerik team
answered on 09 May 2016, 11:26 AM
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!
Tags
General Discussions
Asked by
Kyle
Top achievements
Rank 1
Answers by
Elena
Telerik team
Kyle
Top achievements
Rank 1
Share this question
or