#EXIST#

Description

Verifies the existence of a field.

If the field exists in the application, a Pass is logged. If the field is not found, a Fail is logged.

If a value is passed after the closing # and the field exists, PTF tries to set the field to that value.

Example

In this example, the first step checks for whether the Benefit Plan field exists in the application and logs a Fail if it is not found. The second step not only checks for the existence of the field, it attempts to enter the value KUHP into it:

Type Action Recognition Parameters Value

Text

Set_Value

Name=PA_CLC_PLN_INPT_BENEFIT_PLAN

#EXIST#

Text

Set_Value

Name=PA_CLC_PLN_INPT_BENEFIT_PLAN

#EXIST#KUHP

Related Topics