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

Combining different steps in multiple tests

3 Answers 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 19 Nov 2015, 08:52 AM

Hi,

 I have the following scenario to test a web page that requires login and logout at the end. So my idea/hope is to extract the login/logout step and then simply reuse them in several tests.

 The question is how to work with them when creating a new test ? Is there any possibility to add the login step and then say "from here on I like to record my new actions" ? Then stopping the recording and add the logout step ?

 I found the "Step Builder" that allows me to add steps to a test, so this is nice (though I would have hoped that I simply can drag'n'drop them from my project panel !). But how to proceed from there ? E.g. after I added the login step, how to start the recording from that point ? Is this possible at all ?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Pravallika
Top achievements
Rank 1
answered on 19 Nov 2015, 09:01 AM

Hi Andreas,

You could use the 'Run To Here' option by right clicking on a step, after which  you would like to start recording.

For example, you have a login step in common, which you have added to your test and would like to record post the execution of that step. Now, you can right click on login step and hover on the 'Run' option which shows 'To Here' option. Select it and the test starts executing till the login step and after that step, recorder opens.

Attaching the screenshot of the option for reference.

Hope this helps! :-)

0
Andreas
Top achievements
Rank 1
answered on 19 Nov 2015, 09:19 AM
This is exactly what I needed :) Thank you very much !
0
Boyan Boev
Telerik team
answered on 24 Nov 2015, 08:21 AM
Hi,

@Andreas, we are very happy to hear that. If you need further assistance please let us know.

@Pravalika, once again thank you for helping and sharing knowledge.

Thank you!

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