Convert to Lower case
Last updated
Last updated
This action under the @Generic Element directs the Avo Assure Client to transform any given string to lowercase, regardless of its original case, and store the result in the output variable.
Syntax:
Input: <input string>
Output:
<Dynamic Variable>;<Dynamic Variable>(Optional)
When automating a web application, a user wants to register for an account. The registration form requires the user to enter their email address, which should be stored in a consistent format for future use (e.g., sending notifications, logging in).
Input: During automated testing, the test script inputs various email addresses in different cases, such as:
JohnDoe@Example.com
JOHNDOE@EXAMPLE.COM
Johndoe@Example.com
JoHnDoe@ExaMple.CoM
Expected result: Input string needs to be converted into lower case.
Final Output: The resulting lowercase string is stored in the {result} output variable as johndoe@example.com, which can be utilized for display or other purposes.