For_Value

Description

Wait until the field contains the value specified in the Value field.

Parameters

Parameter Description

type=value

Specify the object type, such as Text, Combobox, Link, and so on.

timeout=value

[Optional] Specify the time out value, in seconds. The default is 300 seconds.

refresh=value

[Optional] Specify the identifier of the target refresh button, link, or image. If the refresh= parameter is specified, PTF waits five seconds between each validation process and the click on the Refresh button.

The Refresh parameter can be defined in the below formats:

  • refresh=<buttonName>-  the identifier will be converted to Name=<buttonName>

  • refresh=Name=<buttonName>-the identifier will be converted to Name=<buttonName>

  • refresh=Id=<buttonId>- the identifier will be converted to Id=<buttonId>

  • refresh=InnerText=<buttonInnerText>-  the identifier will be converted to InnerText=<buttonInnerText>

Example

This example shows PTF test steps that use the Wait step type:

Type Action Recognition Parameters Value

Wait

For_Seconds

60

Wait

For_Value

id=PB_GO_ALL$0

type=Link;timeout=120;refresh=Name=#ICRefresh

P