Combining different steps in multiple tests

4 posts, 1 answers
  1. Andreas
    Andreas avatar
    10 posts
    Member since:
    Nov 2015

    Posted 19 Nov 2015 Link to this post


     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 ?


  2. Answer
    Pravallika avatar
    14 posts
    Member since:
    Dec 2014

    Posted 19 Nov 2015 in reply to Andreas Link to this post

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

  3. Andreas
    Andreas avatar
    10 posts
    Member since:
    Nov 2015

    Posted 19 Nov 2015 in reply to Pravallika Link to this post

    This is exactly what I needed :) Thank you very much !
  4. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 24 Nov 2015 Link to this post


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

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