How to use the Visual Studio .NET application center test (315972)



The information in this article applies to:

  • Microsoft Visual Basic .NET (2003)
  • Microsoft Visual Basic .NET (2002)

This article was previously published under Q315972

SUMMARY

The information in this article applies to Visual Basic .NET. This article demonstrates how to create and run a dynamic test on the Duwamish 7 VB Enterprise Sample Web Application by using Microsoft Application Center Test version 1.0.

back to the top

Requirements

You need the following hardware and software to perform the procedures described in this article:
  • Microsoft Windows 2000 Professional (or Microsoft Windows 2000 Server) or Microsoft Windows XP Professional, with the .NET Framework installed
  • Microsoft Application Center Test version 1.0
  • Microsoft SQL Server 7.0 or Microsoft SQL Server 2000, installed locally (used for the Duwamish database)
  • Duwamish 7.0 VB Enterprise Sample (This is available, but not installed, with Microsoft Visual Studio .NET. To install Duwamish, run Duwamish.msi in Visual Studio .NET folder\Enterprise Samples\Duwamish 7.0 VB.)
You need the following skills to perform the procedures described in this article:
  • General familiarity with VBScript
  • General familiarity with HTTP and Web Application technology
back to the top

How to Use the Visual Studio .NET Application Center Test

  1. Click Start, point to Programs, point to Microsoft Visual Studio .NET, point to Visual Studio .NET Enterprise Features, and then click Microsoft Application Center Test.
  2. On the Actions menu, click New Test, and then click Next.
  3. Click Record a new test, and then click Next.
  4. Use the default script language. (The Application Object application programming interface [API] currently only uses VBScript.) Click Next.
  5. Click Start recording. Microsoft Internet Explorer should open to a blank Web page. In the Address box, type the address to the Duwamish 7.0 VB Web application. This installs to a virtual directory, which is accessible when you type local host/Duwamish7vb in the Address box. Press ENTER.
  6. You should now be at the Duwamish home page. For this test, you will record the steps involved in browsing to a book category and placing a book in the shopping cart. As you navigate around the Duwamish site, each server request is recorded by the Application Center Test. In the list of book categories, click Essays. Click Add to Cart for either of the Pick of the Day books.
  7. In the Application Center Test New Test Wizard, click Stop recording, and then click Next. For the test name, type Buy Books. Click Finish.
  8. In the left pane, click Buy Books. If they are not visible, expand both the ACTSamples and Tests nodes. The test script should be open in the code editor window. Scroll through it to see how VBScript is used with the Application Object API to generate test routines based on your recorded steps.
back to the top

Verification

  1. Press CTRL+F5 to start the test. Click Show Details to view the Real-time Chart as the test is conducted.
  2. When the test is completed, click Close. Select the Results folder, and then expand Buy Books. Click the report to view the test details.

    NOTE: If you want to run a shorter test, click Properties on the Actions menu, and then change the default run time from 5 minutes to the value that you want.
back to the top

Modification Type:MinorLast Reviewed:2/1/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbHOWTOmaster kbinfo KB315972 kbAudDeveloper