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
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!