Convert to Upper 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 uppercase, regardless of whether the input is in lowercase or a mix of cases and save the result in the given output variable.
Input: <input string>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
In a mobile application you want to create a profile by entering a username. To maintain uniformity and prevent duplicate usernames that differ only in case, the application converts all usernames to uppercase before saving them.
During automated testing, the test script enters various usernames in different cases, such as:
johnDoe
JOHNDOE
JohnDoe
jOhnDoE
Input string needs to be converted into upper case.
The resulting uppercase string is stored in the {result} output variable as JOHNDOE, which can be utilized for display or other purposes.