Skip to main content

Select Tab

Description

Use this activity to automate the select the specified tab. This activity enables the automation to choose a specified tab based on defined criteria.

note

This activity requires an active display and an unlocked user session to simulate interactions with UI components successfully. For more detailed information, please refer to the relevant section in the Desktop Automation Notes.

Properties

Input

  • Automation Mode – Defines the method of automating UI elements through hardware drivers or the Send Windows Messages API. The default option is Drivers.
ModeDescription
DriversUtilizes hardware drivers to simulate direct interactions with UI components. It requires both an active display and an unlocked user session.
Window MessagesUtilizes the Send Windows Messages API for automation, eliminating the need for an active display or unlocked session.
Note: This mode is compatible only with certain types of applications that support window message-based automation and may not work with others, such as WPF applications.
SimulateUtilizes a Windows automation library to simulate interactions directly with UI components. It operates without an active display or an unlocked user session.

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, it will no longer log the variables and argument values at the Verbose level.

Optional

  • Timeout – Specify the maximum duration the activity waits for a response to perform the requested operation. It triggers a timeout error if it does not receive a response within the specified time. By default, it sets the timeout to 30 seconds.
  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
note

If this activity is inside the Try-Catch block, and the value of this property is True, it would catch no error.

Example

Download Example

Select Tab