Convert to Upper case
Last updated
Last updated
This pre-built action, found under the @Generic Element Name, directs the Avo Assure Client to transform any string into uppercase, regardless of its initial casing, and store the result in output variable.
Input: <input string>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
In a mobile application a user wants 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.
Input: During automated testing, the test script enters various usernames in different cases, such as:
johnDoe
JOHNDOE
JohnDoe
jOhnDoE
Expected result: Input string needs to be converted into upper case.
Output: The resulting uppercase string is stored in the {result} output variable as JOHNDOE, which can be utilized for display or other purposes.