Test Step Fields

A PTF test consists of a series of steps. Each step in a test is composed of the following fields:

Field or Control Description

Seq (sequence)

A system-generated sequence number. Test steps run according to Seq order. When you move, add, or delete a step, Seq is refreshed.

ID

A system-generated unique identifier for each step in a test. This value does not change when you move, add, or delete a step.

Test maintenance reports use the ID value.

Comment

When you click on the comment icon in the comment field a rich text editor opens that enables you to add detailed comments for each step. The comment field is gray when it contains a comment.

Active

Deselect this field to inactivate a step. PTF will skip inactive steps when the test runs. PTF syntax check is also skipped on inactive steps. Each step is active by default. This field is grayed for inactive steps.

Scroll ID

This field is only required for scroll handling.

Type

The step type. Often, the step type corresponds to the type of application object the step is to take an action on or to validate, such as Text, Check box, Browser, and so on. Other step types perform certain functions, such as running a test or query, setting a variable, or performing conditional processing.

Action

The action the test is to take . Each step type has a set of associated actions. The two most common actions used with a Text step type, for example, are Set and Verify.

Recognition

The means that PTF uses to identify the HTML object within the application. Often, this is the HTML ID property.

Field Label

Contains the label text of the page control referenced in the Recognition field.

The value for the Show Field Label option in the Local Options dialog box determines whether this column appears:

  • If Column is selected, the Field Label column appears.

  • If Tooltip is selected, the column does not appear; instead, the field label appears in a tooltip when you position the mouse cursor over the Value field.

For more information about setting local options, see Configuring Local Options.

Parameters

The conditions that apply to this specific step, if applicable.

Note: This field was introduced in release 8.54; in previous releases, parameters were specified as part of the Recognition field. When you load and save a test from release 8.53 or lower, PTF automatically moves any parameters from the Recognition field to the Parameters field.

Value

In a typical recorded step, this is the value the tester entered for an object.

In a step recorded in Verify mode, this would be the value that was present in the object when it was checked.

Value is part of the test case, not the test itself.