Saturday, February 6, 2010

Installation of Microsoft ACT


  1. Copy the directory C:\Program Files\Microsoft ACT to the same directory on the test machine
  2. Change the path of the Microsoft ACT directory in the registry file (act.reg)


    Please use here the name of the Program files folder (in german programme).

  3. Execute Register.cmd
  4. Create a local user: ACTUser with the "User" rights
  5. Set the Identify of the following COM objects to ACTUser (using dcomcnfg):
    • Application Center Test Broker
    • Application Center Test Controller



    Right click on and select the properties for

  6. Application Center Test Broker
  7. Application Center Test Controller


    Change in the tab Identity to the option "this user " and type in the ACTUser account


  8. Give full control to ACTUser on the following WMI namespace using "Computer Management": Root/CIMV2/Application/MicrosoftACT

    Run wmimgmt.msc



    Right click an select the properties for WMI


    SelectMicrosoftACT and click on the security button


Use ACT for Tests

    Important: To record a test it is necessary to activate basic authentication for this web server.


    Go to the directory security tab


    Edit the Authitication settings


    and activate the basic authentication


ACT supports anonymous, Integrated Windows, basic, digest, and Passport authentication mechanisms for test execution. If you use the record test feature to create test scripts, you need to modify the test scripts to support Integrated Windows and passport authentication. The discussion that follows describes how to do so.

Windows Authentication

ACT supports Integrated Windows authentication while testing, but you cannot record tests for a Web application that has the Integrated Authentication option enabled within Internet Information Services (IIS). The following steps show you how to work around this problem.

To record by using an application that uses Windows authentication

  1. Enable basic authentication, in addition to Integrated Windows authentication, on your IIS server.
  2. Record the ACT test script for testing your application. Provide the appropriate domain, user name, and passwords for your Web application when prompted by the tool.
  3. Change the Web application configuration back to Integrated Windows authentication.
  4. Comment out or delete the following line of each request in the test script, which was recorded in Step 2.


Copy Code

oHeaders.Add "Authorization", "Basic XYZ"

  1. Set up the ACT users (using a separate user group if needed) with the proper domains, user names, and passwords that you want to simulate.
  2. For each request, change the following line in the script:


Copy Code

oRequest.HTTPVersion = "HTTP/1.0"
oRequest.HTTPVersion = "HTTP/1.1"

  1. Run the ACT test script.

Source <>

No comments: