Set Text

This is a pre-built Action located under the captured textbox element. The functionality of this Action in Avo Assure is to set text in the textbox. The status of this action is stored in a dynamic variable for further use during test execution.

Syntax

Input Value: <input value>

Argument
Description

<input value> (Required)

Provide the text to enter into the text box.

Supported input formats:

  • Text

  • Dynamic variables

  • Static values

Note: Input value should be provided in text format.

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 the Set Text 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

Was this helpful?