Skip to content

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:

  1. Add a new step.
  2. Select Set a Variable Value from the Action dropdown.
  3. Enter a variable name in the Element Key field (e.g., UppercaseString). This variable will store the uppercase version of the string.
  4. Click on Form, select Functions, and choose String Operations.
  5. Provide the following parameters:
    • Operation: Choose touppercase.
    • Data: Enter the string to be converted (e.g., “HuLoop automation”).
  6. Click Save.
scrn-touppercase-operation-tabular-view
Tabular View
scrn-touppercase-operation-card-view
Card View

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}).

Back To Top