UiPath.UIAutomationX.Activities.GetText
Extracts and copies the text from a UI element. Must be added inside an Application Card activity.
To learn how to use this activity, see Tutorial: Working with UI Automation.
In the Body of the Activity
- Indicate Target - Indicate the UI element from which to get the text by moving the mouse to it and clicking the element.
- Save to - Click on the right side of the field and then, from the menu, select what to do with the copied text:
- Select an Excel file and then a named cell, or indicate a cell in the file where to copy the text.
- Save for Later Use - Use the output data later in your project as input for another activity.
- Open in Advanced Editor - Enter a VB expression.
- After you indicate the target, click the Options button and then select one of the available options to further configure your target.
- Indicate Target - Indicate the target again.
- Configure Target - Configure advanced options for the target.
- Highlight Target - View the currently selected target on your display surrounded in a box.
Properties
Common
- ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
- Delay After - Delay (in milliseconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 300 milliseconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
- Delay Before - Delay (in milliseconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 200 milliseconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
- Display Name - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.
Misc
- Private - If selected, the data used by the activity is not saved to the StudioX logs when the project is executed.
Options
- Text - See Save to in the body of the activity
Updated 2 years ago