Skip to content

To Lowercase Operation: tolowercase

The tolowercase operation under the String Operations function converts all the characters in a given string to lowercase. This operation is useful for ensuring consistent string formatting, particularly for case-insensitive comparisons or data normalization.

Example: Suppose you have a string “HuLoop AUTOMATION” and want to convert it entirely to lowercase.

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., LowercaseString). This variable will store the lowercase version of the string.
  4. Click on Form, select Functions, and choose String Operations.
  5. Provide the following parameters:
    • Operation: Choose tolowercase.
    • Data: Enter the string to be converted (e.g., “HuLoop AUTOMATION”).
  6. Click Save.
scrn-tolowercase-operation-tabular-view
Tabular View
scrn-tolowercase-operation-card-view
Card View

Outcome on Execution:

  • The operation converts all uppercase letters in the string to lowercase.
  • 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., LowercaseString).
  • This variable can be referenced in subsequent automation steps using the syntax ${VariableName} (e.g., ${LowercaseString}).

Back To Top