Set text

This is a pre-built Action located under the Captured Textbox Element from the Desktop Application. The functionality of this Action in Avo Assure is to enter the specified text into the textbox during test execution.

Syntax

Input Value: <Input text>

Argument
Description

<Input Text>

(Required)

Provide the text which you want to enter.

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

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Both dynamic variable stores the status as True or False.

Example: Setting a Value into a Textbox Field

In this example, we explain how to set a specific value into a textbox field within a web application using the Set text action.

  • Action: Set text

  • Input Value: John [email protected]

    • The input value (John [email protected]) specifies the text to be entered into the targeted textbox within the web application.

  • Output Value: {Status}

    • The result of this operation is stored in the {Status} dynamic variable, which returns one of the following values:

      • True: If the text is set in the textbox successfully.

      • False: If the text is not set in the textbox successfully.

  • Logical Explanation: The Set text action takes the value from the Input Value column (John [email protected]) and inputs it into the specified textbox field within the web application. After execution the result of this action is stored in the {Status} variable as true.

Last updated