Tuesday, June 9, 2009

VSTS Test Edition - A General Writeup

VSTS Test Edition - A General Writeup

By Pankaj Goel

Visual Studio Team System testing tools provides several test types that can be used for specific software testing purposes. Section below describes those test types.

Unit Test
Deals with generating and authoring unit tests, including ASP.NET unit tests and data-driven unit tests.

Web Tests
Works with Integrated Web Test Recorder to record the actions you perform while you browse a Web site.

Load Tests
Refers to Simulating load of multiple users accessing the web application simultaneously

Manual Tests
Manual test steps can be written in text format and can be referred by functional Testing Team

Generic Tests
Wrap an existing test, program, or third-party tool as a generic test.

Ordered Tests
Refers to Ordered test that would execute in a specific sequence.

About Web Test

Web Test is a tool with VSTS Test edition that is used for automating functional tests. The scripts for Web test can be used for performance testing as well.
A Web test simulates how an end user might interact with a Web application. Web test is created by recording HTTP requests using the Web Test Recorder in a browser session. However Web tests can also be building manually using the Web Test Editor.

In contrast to most of the test automation tools on the market, Web Test records HTTP transactions, not Windows API calls. For instance when we click on a [Submit] button, what’s recorded is not the click but the transaction going to the server as a result.

The language used with this tool is C# or VB dot net

We can
• Parameterize recorded transactions with test data,
• Add or remove transactions,
• Add validation points (called Validation Rules in VSTS lingo)

We can not
• Perform GUI validation with this tool
• Perform Database Validation using this tool
• Use the flow control and looping constructs that are provided by more advanced programming languages.

Pros of Web test

• Script is more reliable in terms of being oblivious to minor changes in the application user interface
• VSTS scripts can also detect defects that would be missed with GUI tools.

Cons of Web test

• Web test is not a classical test automation tool. It does not work on GUI elements
• Learning curve is significantly higher. You require Coders to do the effective test automation


Info

http://www.qacampus.com

http://www.crestech.in

Software Testing

Australia

0 comments: