Convert to Lower case
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Generic Element Name. It instructs the Avo Assure Client to convert any given string to lowercase, regardless of whether the input is in uppercase or a mix of cases and save the result in the output variable.
Input: <input string>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
Scenario: User Registration on a Website
In web application you want 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.
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