ValueExists

Description

Checks whether a specified value exists in a combo box. Enter the value to be verified in the Value field. The full text entry or the metadata translation (XLAT) value can be specified for the value; PTF will consider either as a match.

Parameters

Parameter Description

expected=value

Specify expected=true or expected=false. Logs a Pass or Fail based on whether the ret parameter matches the expected parameter.

ret=&variable;

ret=true – the value exists

ret=false – the value does not exist

Example

This example checks if the PA_CALCULATION_TYPE combo box contains Automatic, and logs a Fail if it does not exist.

Type Action Recognition Parameters Value

ComboBox

ValueExists

name=PA_CALCULATION_TYPE

expected=true;ret=&CalcType

Automatic