Browse by Tags
» Team Test
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...
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...
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...