To Uppercase Operation: touppercase
The touppercase operation under the String Operations function converts all the characters in a given string to uppercase. This operation is useful for ensuring consistent formatting, particularly for case-insensitive comparisons or preparing text for display.
Example: Suppose you have a string “HuLoop automation” and want to convert it entirely to uppercase.
Steps to Configure:
- Add a new step.
- Select Set a Variable Value from the Action dropdown.
- Enter a variable name in the Element Key field (e.g., UppercaseString). This variable will store the uppercase version of the string.
- Click on Form, select Functions, and choose String Operations.
- Provide the following parameters:
- Operation: Choose touppercase.
- Data: Enter the string to be converted (e.g., “HuLoop automation”).
- Click Save.


Outcome on Execution
- The operation converts all lowercase letters in the string to uppercase.
- For the string “HuLoop automation“, the result is “HULOOP AUTOMATION“.
- The converted string is stored in the variable defined in the Element Key field (e.g., UppercaseString).
- This variable can be referenced in subsequent automation steps using the syntax ${VariableName} (e.g., ${UppercaseString}).