次の方法で共有


How To: Parameterize web servers in webtest

This is Syed Aslam Basha here from Products and Services IT (PSIT) team.

 

Parameterizing web servers helps in parameterizing URLs of web server in web test. We can use the same web tests for different environments without need to regenerate the code.

Let me show how to parameterize web servers:

  • Open the web test
  • Click on parameterize web servers button
  • image
  • Parameterize webservers screen shown
  • image
  • Click on change
  • Enter context parameter name and web server to be used
  • image
  • Context parameters will be added and URLs will be replaced with the parameter name
  • image
  • Update the context parameter to required URL

 

- Syed Aslam Basha ( syedab@microsoft.com )

Products and Services IT (PSIT) Team

Test Lead