Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I have recently started using Microsoft Test Manager 2010 and watched a few videos on the features for it. In one of the videos there was a shared step that when you run the test manually it opened IE. I would like to know how it is possible to create this shared step and any other useful features like that.

The reason I would like to know is that I don't want to have to continually write steps to open the web application that I am testing and would like to have the home page displayed automatically at the start of each test.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

I have figured out how to accomplish this and I will post it here since there has been a lot of views of the question but no answer.

In test manager, select the Organize tab. Then select the Shared Steps Manager. Create a shared step and pace a parameter in it, e.g. '@Location', enter the URL you wish to navigate to in the parameter at the bottom of the form, and save & close.

Select the shared step in Shared Steps Manager and click the Create Action Recording. Now follow the steps and nav to the URL you require and save. Add the shared step to your test — you will need to add the URL into the @Location parameter that is now displayed in the test you are creating.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.