GridView Control Operations
Keyword: GETCOUNTOFROWS
Description: This keyword or action instructs ICE to fetch the number of rows in the gridview object and save the results in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetCountOfRows | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 in it.
Keyword: GETCOUNTOFCOLUMNS
Description: This keyword or action instructs ICE to fetch the number of columns in the gridview object and save the results in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetCountOfColumns | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 in it.
Keyword: SELECTROWS
Description: This keyword or action instructs ICE to select specified rows.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectRows | <Row Number/ Numbers (with separator as ;)> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will select the 1st and 2nd row in the gridview execution status, “True”/ “False” will be stored in the {select_rows} variable.
Keyword: PRESSTOOLBARBUTTON
Description: This keyword or action instructs ICE to click on the button in the gridview, which has the tooltip as mentioned in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
PressToolbarButton | <Input button ICE Tip Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE 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 status “True”/ “False” will be stored in it.
Keyword: GETCELLTEXT
Description: This keyword or action instructs ICE to fetch the text from the cell of the gridview and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetCellText | <Row>; <Column> | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will fetch the value of the cell 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 in it.
Keyword: CLICKCELL
Description: This keyword or action instructs ICE to select the cell specified in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
ClickCell | <Row>; <Column> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 ICE to double click on the cell specified in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
DoubleClickCell | <Row>; <Column> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 ICE to fetch the row number and column number from the cell of a gridview object and save the result in output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetRowColByText | <Input Text> | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 in it.
Keyword: SETSHELLTEXT
Description: This keyword or action instructs ICE to set text on the Sheel object and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SetShellText | <Input Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE 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 ICE to set the text in the cell and save the result in output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SetTextInCell | <Row>; <Column>; <Input Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 ICE to select all the rows in the gridview.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectAllRows | NA | (Optional) | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 ICE to unselect all the selections in the gridview.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
UnSelectAllSelections | NA | (Optional) | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will unselect all the selections in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored in it.
Keyword: SCROLLTOROWNUMBER
Description: This keyword or action instructs ICE to scroll to the given input row.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
ScrollToRowNumber | <Row Number> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will scroll to row number three. If the output variable is provided for execution status, “True”/ “False” will be stored in it.
Keyword: GETCELLCOLOR
Description: This keyword or action instructs ICE to fetch the color of the specified cell in the gridview and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetCellColor | <Row>; <Column> | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 in it.
Keyword: SELECTCOLUMNS
Description: This keyword or action instructs ICE to select specified columns.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectColumns | <Input Column Name> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will select the Capacity and Airfare columns in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored in it.
Keyword: UNSELECTCOLUMNS
Description: This keyword or action instructs ICE to unselect specified columns.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
UnSelectColumns | <Input Column> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will unselect the Capacity and Airfare columns in the gridview. If the output variable is provided for execution status, “True”/ “False” will be stored in it.
Keyword: GETALLCOLUMNHEADERS
Description: This keyword or action instructs ICE to fetch all the column headers in the gridview object and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetAllColumnHeaders | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE 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 ICE to fetch all the column index of the input column header in the gridview object and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetColNumByColHeaders | <Input Column Header> | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, ICE will fetch all the column index 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