Timeout

Object used to repeat and/or validate an action according to a condition.

The robot will exit the timeout as soon as the condition is met

Settings

To use this object, simply select the condition and duration of the timeout.

General object layout

Filling in the object:

Field
Description

Title

It's the object's name and doesn't need to be changed, unless you want to identify it to make it easier to find on the robot, for example: "Timeout - Execution Validation".

Condition

Condition to validate a routine. Example: variable1 ==variable2 / variable1.Contains(“test”)

Seconds

Seconds for the condition to be met

USE CASES

  • Validate object action according to its condition.

  • Repeat validation according to its condition.

  • Being able to repeat and validate whether a file exists on your computer or not.

Example

Repeat validation of a true condition for three seconds to check if the file exists in the selected directory.

ITENS USED IN THE ROBOT
Example Robot Configuration - Timeout

STEP 1: To set Timeout with true condition and give it three seconds of time.

Timeout setting

STEP 2: To set Check If File Exists and 2 (two) message boxes to see the appropriate validation actions and sequence of robot's executions.

Validation Objects setting

STEP 3: Run the robot and check the following actions:

a) Timeout will repeat and validate the operation within it as True for 3 seconds.

b) It returns to the robot's execution

Successful Execution Robot Example - Timeout

Download it:

Last updated

Was this helpful?