Description
Sets the specified Element as active.
Attributes
Common
ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.
DelayAfterMs - Duration in milliseconds to delay before moving to the next activity.
DelayBeforeMs - Duration in milliseconds to delay before pushing this activity to the selected element.
Misc
DisplayName - Renames the activity.
Target.Element - The UiElement variable. Cannot be used together with Selector.
Target.Selector - Property used to find a specific UI Element when the activity is executed.
Target.TimeoutMS - Duration in milliseconds to send an error if the selected element is not located.
Wait Element - Waits for an Element to be ready before the activity runs if COMPLETED is chosen. Does not wait for an Element if it is set as NONE.
Example
- Add an Activate activity inside a Sequence.
- Click Select Element On Screen and select the whole window of a browser.
The use case should look as the following screenshot:
To test this activity, make sure that the selected element is in the background and another window is on the foreground.
After execution, the selected element should be at the foreground.