Book Image

Software Testing with Visual Studio Team System 2008

By : N Satheesh Kumar, Subashni. S
Book Image

Software Testing with Visual Studio Team System 2008

By: N Satheesh Kumar, Subashni. S

Overview of this book

<p>We all know that software testing is the most important part of the Software development life cycle and the quality of the end product is mostly dependent on how well we test our products. But, testing is neither an easy process nor remotely exciting for all the developers.<br /><br />For testing your applications on the Microsoft platform, Visual Studio Team System 2008 offers you a range of powerful tools for different types of testing. This Microsoft product makes the testing process easier as well as more exciting, not boring anymore.<br /><br />This concise guide will lead you through the bewildering range of features offered by Visual Studio Team System 2008 to test your software applications before going live. It is packed with simple examples and screenshots to get you comfortable with the VS Team System 2008 testing environment.<br /><br />The book introduces you to the main types of testing available in VS Team System 2008 for both desktop and web applications, and then walks you through deploying, running, and interpreting the results of tests. If you've been testing applications in Visual Studio 2005, the book will show you how you can move this easily to Visual Studio 2008.<br /><br />You will learn about the Unit test, Manual test, Web test, Load test, Ordered test, and Generic test, and the support for them in VS Team System 2008. By the end of the book you will be using the tools to manage and run your tests, collect and analyze your test results, and improve the reliability of your software applications.<br /><br />Later, you will prepare reports to monitor the quality of your software applications, using the available reporting templates in Visual Studio 2008 Team system and Team Foundation Server.</p>
Table of Contents (15 chapters)
Software Testing with Visual Studio Team System 2008
Credits
About the Authors
Preface
10
Working with Test Results

Web test editor


After completing all requests recording, click on the Stop option in the Web Recorder pane which will stop recording and close the browser window. Now you can see the WebTest editor window is open and see the recording details in the WebTest editor.

The editor shows the tree view of all requests captured during recording. This editor also exposes different properties of requests and parameters for each request. Not only the properties, but we can also set the Extraction and Validation rules using this editor. There are different levels of properties that we can set using the WebTest editor on the recorded requests.

  • Properties at WebTest root level which applies to the entire web test. For example, setting the user credentials and giving a description to the test.

  • Request level properties that applies to individual request within the web test. For example, we can set the timeout, think times, and recording result's properties on each request level.

  • Properties for request...