Clear 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 remove the text present in the specified textbox during test execution.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

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: Clearing Text from a Targeted text box

In this example, we explain how to clear existing text from a specified text box during execution using the Clear text action.

  • Action: Clear text

  • Input Value: N/A

    • This action does not require any input value in the Input Value column. It simply removes any existing text or content from the targeted text box.

  • Output Value: {Status}

    • The result of the text clearing operation is stored in this {Status} dynamic variable with the following possible values:

      • True: If the text is cleared successfully.

      • False: If the text is not cleared successfully.

  • Logical Explanation: The Clear text action interacts with the specified text box and removes any existing content during test execution. After the operation is performed, the result is stored in the {Status} variable as true.

Last updated