Starting Point
One has a set of Web Tests in Visual Studio and has just done a run of all the tests. We want to now figure out where something went wrong.
Steps
- Run all the tests.
We will now be able to see the state of the system with the click of a button. In the pic below I can see that 2 tests failed and two passed.
- I one double clicks on a particular test case then we can see visually what happened on that run with each request. See below, I double clicked on a test case that failed and I can now see that it was on the 3rd request where that test failed and it will also show a screen shot of the page. At a glance I can see some broken links (look at the 'header' image that has not appeared)
- If one now expands a particular request it will show all of the items that are required to make that request valid. And it also show which items failed. See the pic below I can now see that 3 items were not found (see the '404 NOT FOUND' error).

0 comments:
Post a Comment