Convert to Uppercase

This is a pre-built Action located under the @Generic Element. The functionality of this Action in Avo Assure is to change the given text to uppercase letters. The converted text is then saved in a dynamic variable.

Syntax

Input Value: <input string>

Argument
Description

<input string> (Required)

Provide the text that needs to be converted to uppercase.

Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)

Argument
Description

<Dynamic Variable>

(Required)

This dynamic variable stores the converted string.

<Dynamic Variable>

(Optional)

This dynamic variable stores the status as True or False.

Example: Converting a String to Uppercase

In this example, we explain how to convert a given string into uppercase letters.

  • Action: Convert to Upper case

  • Input Value: Alice Johnson

    • This specifies the string that needs to be converted into uppercase.

  • Output Value: {Uppercase string}

    • The converted string (e.g., ALICE JOHNSON) is stored in this {Uppercase string} dynamic variable for further use.

    • If the second output variable is defined, it stores the action status with the following possible values:

      • True: If the conversion is successful.

      • False: If the conversion fails due to invalid input or configuration.

  • Logical Explanation: The Convert to Upper case action fetches the value from the Input Value column (Alice Johnson) and converts it into uppercase (ALICE JOHNSON). The converted string is then stored in the {Uppercase string} variable.

Knowledge Bites: Below are some examples of different string scenarios

String
Input Value
Result

Text Strings

automation

AUTOMATION

Already in Uppercase

EMPID

EMPID

Special Character and Number

Pass@123

PASS@123

Alphanumeric strings

id2025

ID2025

Last updated

Was this helpful?