Get Textbox Length
This is a pre-built action in Avo Assure that comes for the textbox captured element. This action instructs Avo Assure Client to get the maximum length of text box specified by the developer and stores the result (length of textbox) in the given output variable.
Syntax
Input: N/A
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)

Use case/Example

Scenario: Testing Get text box length functionality in web application
Consider a scenario where you are testing a web application. The Get Textbox Length action helps you retrieve the maximum length of a textbox within the application. This ensures that the length of text you enter into the textbox is accurately captured and processed. It's crucial for verifying that the application correctly handles input, implements length limits, and enforces input rules, ultimately validating your inputs.
Expected Result
It should retrieve the maximum textbox length supported by Username textbox element and it stores in {len} variable and store the status in {Status} output variable.
Output
The maximum textbox length supported by the Username textbox element is stored in the {len} variable, and the result of the action is stored in the {status} output variable as True
, which can be utilized for further work.
Last updated
Was this helpful?