DCSIMG
Web Test Recording - SRL Group

SRL Group

This blog is about Team System, QA and Development methodologies and more...

VSTS Resources

Team System Bloggers

Browse by Tags

All Tags » Web Test Recording (RSS)
How To Create A Custom Extraction Rule In Team System Web Test
There are times when you need to write your own extraction rule, it is very simple to do that just follow these steps: Step 1: Create a new project, make it a “Class Library” type. Step 2: Add a reference to: Microsoft.VisualStudio.QualityTools.WebTestFramework.dll located in “Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\”. Step 3: Add the following using: using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules; using System...
How To Create A Team System Web Test Plug-in
I will start by explaining what is a test plug-in and than I will show how to create one. Web Test Plug-in is used to do the following: Run code that you write at the beginning or at the end of each Iteration. In order to use it in the beginning and the end of each iteration you will need to override the PreWebTest and PostWebTest methods. Run code at the beginning or the end of each Request. In order to use a Web Test Plug-in in the beginning and the end of each request you will need to override...
How To Run A Recorded Web Test On Different Servers
Many times when I record a web test, I do that on my local machine, the result is all the requests are directed to my localhost. A very nice feature added in Team System 2008 is the “Parameterize Web Server” button added to my Web Test GUI. Clicking on it will open a new window with one new parameter with the default name of “WebServer1”. We can also see that the “Web Server” parameter is the server that the web test was recorded on. Click OK and see that two things have happened a folder was added...
How To Extract A Web Test Out Of An Existing Web Test In Team System
There are times when you have a part of a scenario that needs to be repeated in other scenarios. There are two options available: Record the steps each time for each of the scenarios. Create a Web Test that includes these scenario steps and embed the Web Test in other web tests. Option 2 is obviously preferable because it saves valuable time, take in account that you are not just recording steps but you also adds roles to it and modify it, wouldn’t you prefer to do that one time only? In Team System...