Page tree

Silk Test (sold separately by Micro Focus) 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 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 configuring a 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 Silk Test scripts, a Windows Server edition platform is required.


To prepare a Silk Test package for the TEA Agent

  1. Refer to Silk Performer documentation and follow all of the instructions 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.

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.

2 Comments

  1.  

    1.