GetText
Last updated
Last updated
The GetText Action in the Avo Assure is found under the @Custom List Element. It instructs the Avo Assure Client to fetch the object text and save the result in output variable.
Input: <ObjectType>;<Visible Text(Optional)>;<Index>
Note: The user needs to provide the type of object, its visible text of the element (if needed), it’s element index.
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
User is automating a test in the SAP Material Management module. After selecting a material, the description of the material is displayed in a text field as FG5005050. The test involves fetching this description and validating it against the expected value from the test data. Using GetText Action in Avo Assure user can easily retrieve the text present in the material management module.
textbox;;3
The GetText Action should retrieve the displayed material description and save the result in output variable.
The GetText Action should retrieve the displayed material description and save the {result} in output variable as FG5005050 and {status} as True.