Get Text field Length
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built action in Avo Assure which is located under the @Custom element. It instructs the Avo Assure Client to fetch the maximum text box length defined by the developer and save the result (textbox length) and status (True or False) in output variable.
Input: <Object Type>;<Visible text>(optional);<index>;<abs(Optional
)>
Output: <Dynamic Variable>(optional);<Dynamic Variable> (Optional)
Consider a scenario where a user is testing an E commerce application and where user wants to determine the maximum text length supported by password textbox. For this scenario, The Get Text field Length action used by Avo Assure. It retrieves the maximum text length supported by the password textbox which ensures that the user can enter input text up to the allowed character limit.
Textbox;;1.
The Get text field length action needs to fetch the maximum textbox length supported by the Password textbox element. The Length value of the textbox is stored in the {Length} variable and stored the status in {Result} output variable.
The Get text field length action performed on password textbox and saves the length of the textbox in the {Length} variable as 8. It saves the status in the {Result} output variable as True.