Types of Certify Variables

There are four types of variables that you can use with Certify:

  • Project
  • Local
  • System
  • User

Project Variables

Project variables are specific to a project and commonly used in data-driven testing. Project variables can be created and managed in the Variables window or in the Process Editor when you create processes.

You can use Project variables for the following:

Window

Use project variables to ...

Data

Define the layouts of your recordsets.

Process

Define the values of objects within your process steps.

Local Variables

Local variables are created and used by a single process. When creating a process in the Process Editor, you can create a process variable that will only be available to a specific process. For more information on how to create local variables, see Creating Local Variables.

System Variables

System variables are predefined and used as read-only variables to data values during test execution. System variables contain values to add to process steps. They cannot be part of a recordset because you can write to variables in a recordset.

Certify provides the following system variables:

  • Current locale
  • Current date
  • Current process name
  • Current recordset name
  • Current recordset row number
  • Last step status
  • Current user name
  • Current layout name
  • Current machine name
  • Documents directory

AUT Locale Variable

The System variable called AUT Locale provides control of the locale during execution. The System action called Set AUT Locale allows users to

set this System variable. When used in conjunction with recordsets and locale-specific data formats, a single process can be executed against applications of various locales. At execution time, the system variable AUT Locale initial value defaults to the Locale value of the user machine until the step with the Set AUT Locale action is executed.

User Variables

User variables are user-defined variables. They are created and managed from the Extensions window by a Certify Administrator. These user variables are shared across all projects. For more information, see Working with User Variables.

 

Related Topics Link IconRelated Topics