Get String Length
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Generic Element Name, it tells the Avo Assure client to fetch the count of characters in the given string by retrieving its length from the Input column and store the result in an output variable.
Input: <string>
string: it will store the Input string of which user wants to fetch the length
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
When filling out a user registration form, it's essential to create a password that adheres to specific strength criteria, including a minimum length requirement. As part of your testing process, you will need to verify that the application accurately calculates the length of the password you have input.
The user enters a password in the registration form, such as:
Password: P@ssw0rd123
The application requires the password to be at least 8 characters long. You want to verify that the length of the entered password meets this requirement.
The output is stored in the {result} output variable as 11, which can be utilized for display or other purposes.