Page tree

Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Silk Test (sold separately by Borland) is a product used to test a variety of applications, such as client-based applications, that are not recognized or supported by Silk Performer. If you have a Silk Test project, you can wrap it with a Silk Performer project so that the BMC Synthetic Transaction Execution Adapter (TEA) Agent can run it. The following procedures provide general instruction about wrapping the Silk Test project, and specific instructions for a code change to the project.

For more information about configuring the Silk Test project with Silk Performer, see the Silk Performer documentation Open link about configuring Windows for GUI-level testing and GUI-level test execution.

Notes

  • Make sure to follow all steps of the procedure.
  • For running multiple Silk Test scripts in parallel, a Windows Server edition platform is required. 

You also need to configure the User Access Control (UAC) on the TEA Agent computer.

To prepare a Silk Test package for the TEA Agent

  1. Refer to Silk Performer documentation to create a new Silk Performer project for modeling GUI-level test scripts based on Silk Test classic test cases. 
  2. In the new Silk Performer project, ensure that you select the Use project attributes for session login check box.

    This option enables you to enter the user name and password of a local administrator account on the TEA Agent computer, so that it can log on to a Remote Desktop session using Remote Desktop Services (formerly known as Terminal Services). 

  3. Modify the automatically generated script to make the following code changes:
    1. From under the TInit transaction, move the var section to under the main transaction:

      var

          sUser : string;

          sPasswd : string;

    2. Move the AttributeGetString() functions and the StInitSession() function from under the TInit transaction to under the main transaction.

    3. At the end of the main transaction, add the StLogoffSession() function.

    Example

    The following example of a final script highlights the necessary changes:

  4. Export the project to make it available as an .ltz file.
  5. Refer to the Silk Performer documentation to configure your Windows operating system to run the Silk Test scripts.

To configure UAC on the TEA Agent computer

  1. Open the Windows Local Security Policy (secpol.msc) tool.
  2. Select Local Policies > Security Options.
  3. Disable User Account Control: Run all administrators in Admin Approval Mode.

  4. Restart the TEA Agent computer.

Note

If you define an Execution Plan to run a Silk Performer script on more than one location, ensure that each TEA Agent in each location has a local administrator account that uses the same user name and password..

 

Where to go from here

Go to Editing an application's synthetic settings to define an Execution Plan and select locations on which to run the Silk Test project.