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

How to convert a set of test steps to a reusable step?

2 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael Paterson
Top achievements
Rank 1
Michael Paterson asked on 09 Jul 2011, 05:14 PM
I have a test which includes steps to "Navigate to", enter username, enter password, and click login.  Obviously, these steps will show up in most of my tests.  Is there a way to make these steps into one reusable step to be used in my other tests?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shashi
Top achievements
Rank 1
answered on 09 Jul 2011, 08:38 PM

Hi Michael,

You have a couple of options to do this:

 

a) Create a new test with the steps you want to share and then use Add Test as Step to call it from the tests that need to log in.

b) Use a coded step to execute the steps to log in

Hope that helps,
Shashi

 

 

0
Anthony
Telerik team
answered on 11 Jul 2011, 03:33 PM
Hello Michael,

Shashi is correct; the best and easiest way to accomplish this is with our Test as Step feature.

Regards,
Anthony
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
Tags
General Discussions
Asked by
Michael Paterson
Top achievements
Rank 1
Answers by
Shashi
Top achievements
Rank 1
Anthony
Telerik team
Share this question
or