Skip to content

Create a Script

How is the communication between a Script and the PerformanceGuard Agent structured?

Section titled “How is the communication between a Script and the PerformanceGuard Agent structured?”

The structure for the data reported by AutoSteps script must follow the same structure as outlined for the Autosteps Chart Widget. The documentation on how a script can communicate with the PerformanceGuard agent is described in Monitor Complex Activity with AutoSteps.

You can use the following parameters:

PropertyDescriptionExamples
Transaction GroupDefines the BTM Transaction Group - Mostly used as an overall category.
⚠️ The length of the characters can not exceed more than 64.
TransactionGroup = PG Demo Scripts
Transaction NameDefines the BTM Transaction Name - Mostly used to define a more narrow category like the application or website being tested.
⚠️ The length of the characters can not exceed more than 64.
TransactionName = NOTEPAD Document
TagsDefines the BTM Tags - Mostly used to describe the exact operation performed by the script.
⚠️ The length of the characters can not exceed more than 64.
- ComPG1.setTag = NOTEPAD startup
- ComPG1.setTag = Type in text
- ComPG1.setTag = Save NOTEPAD document

To create a new script click . You can select a category from the menu or you can create a new Script Category while creating a new Script.

Category: Used to organize your scripts and also makes it easier to search for a particular script.

Executable and Executable Parameters: Used to define what and how a script is executed.

Creating Executable and Executable Parameters

Section titled “Creating Executable and Executable Parameters”

You can create the line of arguments for the executable and set values to each parameter while creating a new Script.

When AutoSteps executes the script, it is done using the parameters in the order they are written and thus it is important to type the parameters according to the syntax for your executable.

After creating a parameter you will be able to add Default Parameter Values to each parameter.

Creating a Script with an executing binary file

Section titled “Creating a Script with an executing binary file”

AutoSteps supports the use of self-contained executable (.exe files). This allows you to distribute the executable and thus no installation of an executable program on the AutoSteps computer is necessary in order to execute the script.

  • Go to Administration > AutoSteps > Scripts and Create a script
  • Upload the file and Click Save