Clear Text From Cell

This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to clear the text from the textbox within the specified table cell based on the input value provided. The result is stored in the given dynamic variable for further use during test execution.

Syntax

Input Value: <Row>;<Col>;<Object Type>;<Index>

Argument
Description

<Row> (Required)

Provide the row number of the specified table cell.

<Col> (Required)

Provide the column number of the specified table cell.

<Object Type> (Required)

Provide the type of object within the input value field.

<Index> (Required)

Provide the element index of the object the input value field.

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 Specific Table Cell

In this example, we explain how to clear the text from a textbox located within a specific cell of a captured table.

  • Action: Clear Text From Cell

  • Input Value: 5;3;input;2

    • The first argument (5) specifies the row number.

    • The second argument (3) specifies the column number.

    • The third argument (input) specifies the object type of the cell.

    • The fourth argument (2) specifies the index of the object.

  • Output Value: {Status}

    • The result of the action is stored in the {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 From Cell action reads the details from the Input Value column (5;3;input;2). It identifies the table cell located at row 5 and column 3, locates the textbox object inside the cell, and performs a clear operation to remove the existing text. The operation’s result (True) is stored in the {Status} variable.

Last updated