Get element text
Last updated
Last updated
This is pre-built Action located under the @Custom Element Name. It instructs the Avo Assure Client to retrieve the text of the element and save the result in the output variable.
Input: <ObjectType>;<VisibleText(Optional)>;<index>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
User is working on desktop application for a banking platform where users can view their account balance on the dashboard after logging in. The goal of the Action is to fetch the account balance.
The Get element text Action needs to fetch the text from an element that displays the account balance on the dashboard after logging in. The account balance is dynamically updated and displayed as text within a text box.
textbox;;1
The Get element text Action needs to retrieve balance of account and save it in the Output Variable.
The Get element text Action retrieves balance of the account and it in the {result} output variable as USD 5000, which can be utilized for display or other purposes.