Wait for Control

This activity can be used to pause the execution, waiting for the specified control object to appear on the screen.

Properties

Input

  • Identifier: indicate a new UI element, or select from the already defined list of selectors.

  • Timeout: total number of milliseconds the robot will search for the specified control object to appear before aborting the action

  • Retry Interval: the number of milliseconds robot will retry finding the specified control object.

Based on the default values for timeout and retry interval, the robot would try 10 times within 5 seconds / 5000 milliseconds to find the specified control object.

Misc

  • Display Name: action display name in your implementation project

  • Wait Before: number milliseconds robot to wait before executing the action.

  • Wait After: number milliseconds robot to wait until moving to the next action.

  • Abort on Error: True/False

  • Retry Times: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.

Use Case

Potential Use Cases

  • Wait for the google search bar to appear before trying to type in it.

  • Wait on a company's webpage for tab/button "contact" to appear before typing in a message.

  • Wait in an accounting software app for the button new invoice to appear before executing a click on it.

Examples of Using Wait for Control

Example

Description:

In this example, the robot will access the web page of Zendesk , look for the "Get Started" button and if it founds it, would display a confirmation message using the Message Box activity.

Prerequisites:

Microsoft Edge installed.

Watch the robot in action:

You can see how the Wait for Control activity is used in an example that incorporates multiple activities.

The article doesn't fully answer your question, or you want to find out more? Ask your question in the comments, on our community forum, or contact our support team or your account manager. Whatever works for you, your question will find its answer soon!