GridView Control Operations

Keyword: GETCOUNTOFROWS

Description: This keyword or action instructs Avo Assure Client to fetch the number of rows in the gridview object and save the results in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the total number of rows in the gridview and store the result in {row_count} variable. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: GETCOUNTOFCOLUMNS

Description: This keyword or action instructs Avo Assure Client to fetch the number of columns in the gridview object and save the results in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the total number of columns in the gridview and store the result in {column_count} variable. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: SELECTROWS

Description: This keyword or action instructs Avo Assure Client to select specified rows.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will select the 1st and 2nd row in the gridview execution status, and “True”/ “False” will be stored in the {select_rows} variable.

Keyword: PRESSTOOLBARBUTTON

Description: This keyword or action instructs Avo Assure Client to click on the button in the gridview, which has the tooltip mentioned in the input.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will click the toolbar button whose tooltip text is provided in the input field <Insert with Overwrite>. If the output variable is provided for execution, the status “True”/ “False” will be stored in it.

Keyword: GETCELLTEXT

Description: This keyword or action instructs Avo Assure Client to fetch the text from the cell of the gridview and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will fetch the cell's value in the third row and fifth column of the gridview and store the result in the {Cell_Text} variable. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: CLICKCELL

Description: This keyword or action instructs Avo Assure Client to select the cell specified in the input.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will click the cell present in the fifth row and the second column in the gridview, and execution status, “True”/ “False” will be stored in {Click_Cell} variable.

Keyword: DOUBLECLICKCELL

Description: This keyword or action instructs Avo Assure Client to double-click on the cell specified in the input.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will double click on the cell present in the second row and the second column in the gridview, and execution status, “True”/ “False” will be stored in {DoubleClick_Cell}.

Keyword: GETROWCOLBYTEXT

Description: This keyword or action instructs Avo Assure Client to fetch the row number and column number from the cell of a gridview object and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the row number and column number of the cell text given in the input and store the result in the output variable {RowCol_Text}. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: SETSHELLTEXT

Description: This keyword or action instructs Avo Assure Client to set text on the Sheel object and save the result in the output variable.

Find the snippet of the keyword below:

In the above example after the test case debug, Avo Assure Client will set text “INCC” in the “shell_shl” object. If the output variable is provided for execution status “True” / “False” will be stored in it.

Keyword: SETTEXTINCELL

Description: This keyword or action instructs Avo Assure Client to set the text in the cell and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will set the text “Hello” in the cell present in the third row and first column, and execution status, “True”/ “False” will be stored in {SetText_Cell} variable.

Keyword: SELECTALLROWS

Description: This keyword or action instructs Avo Assure Client to select all the rows in the gridview.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will select all the rows present in the gridview, and execution status “True”/ “False” will be stored in {SelectAllRows} variable.

Keyword: UNSELECTALLSELECTIONS

Description: This keyword or action instructs Avo Assure Client to unselect all the selections in the gridview.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will unselect all the selections in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: SCROLLTOROWNUMBER

Description: This keyword or action instructs Avo Assure Client to scroll to the input row.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will scroll to row number three. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: GETCELLCOLOR

Description: This keyword or action instructs Avo Assure Client to fetch the color of the specified cell in the gridview and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will fetch the color of the cell present in the fourth row and eighth column in the gridview and store the result in the {Cell_Color} variable. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: SELECTCOLUMNS

Description: This keyword or action instructs Avo Assure Client to select specified columns.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will select the Capacity and Airfare columns in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: UNSELECTCOLUMNS

Description: This keyword or action instructs Avo Assure Client to unselect specified columns.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will unselect the Capacity and Airfare columns in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored.

Keyword: GETALLCOLUMNHEADERS

Description: This keyword or action instructs Avo Assure Client to fetch all the column headers in the gridview object and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will fetch all the column headers in the gridview and store the result in {AllColHeaders} variable. If the output variable is provided for execution status, “True”/ “False” will be stored in it.

Keyword: GETCOLNUMBYCOLHEADERS

Description: This keyword or action instructs Avo Assure Client to fetch all the column indexes of the input column header in the gridview object and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will fetch all the column indexes of the input column headers (Airline, Capacity, and Occupied) in the gridview and save the result in variable {Result}. If the output variable is provided for execution status, “True”/ “False” will be stored in it.

Last updated