 
       Last Updated: May 27, 2021
Use this function to get text from the screen with the help of relative element; position and length.
Useful in Mainframe Automation.
Get Text with Element (element_name, before_or_after, field_position)
| Input Parameter Name | Description | 
|---|---|
| element_name | Relative element name from which the text has to be fetched | 
| before_or_after | Field presence (value should be either before or after) | 
| field_position | Field position value | 
| Return value | Description | 
|---|---|
| Text | Returns Text from the screen | 
Get Text with Element (UserName, after, 2 )
To view all the UI functions, click here.