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 |
|
ret=&variable; |
|
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 |