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

Test Lists vs Excute test as step

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tyler
Top achievements
Rank 1
Tyler asked on 21 Jun 2017, 04:40 PM

I've written a few scripts which I have used as test as steps within other scripts. When something fails it is hard to locate where the failure has actually occurred. Should I build these scripts differently and use Test lists instead and run the scripts in the order that I need them to run?  

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 26 Jun 2017, 11:43 AM
Hi Tyler,

Thanks for reaching us out. 

Usually Test as steps usage is recommended for reusable parts of the test suite like Login or Logout actions. Though depending on the required scenarios and requirements you could choose using Test as Step in a different set as well. 

Since I am not aware of any details for the scenarios covered and the application under test I would recommend you give a try to a test list as well. In case you would like each next test to continue from a certain state of the application I would recommend using the test list setting RecycleBrowser which will keep the same browser opened for the whole test list execution. 

Here are also some further recommendations for modularizing your project to be easier maintainable. 

I hope this information will suit your query. Though in case of further questions please do not hesitate to contact us again! Thanks! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Tyler
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or