Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine you have a sequence of web tests in Visual Studio, recorded individually i.e., "Login", "Event A" and "Event B".

To do both "Event A" and "Event B" you need to login. Is there a way for tests "Event A" and "Event B" to inherit "Login" test?

I am calling it inheritance but don't know if that is the correct term please correct me if I am wrong.

This way my tests can be almost modular.

Thank you in advance for any support you give.

share|improve this question
up vote 2 down vote accepted

The simple answer is yes. You can right click on the test case in the web test editor and select "Add call to web test" and it will call that web test. Any context parameters that are required by your "Login" test can be set in the other test or in the load test and will be used by Login when executed.

share|improve this answer

Your Answer


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.