Table
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to perform a click operation on the table cell given in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
cellClick | <row number>; <column number>; <Object_Type_Input (Optional)>; <Index (Optional)> | (Optional) |
|
Note: Input Syntax-
S. No. | Object Type | Object_Type_Input |
1 | Button | button |
2 | Image | img |
3 | Checkbox | checkbox |
4 | RadioButton | radiobutton |
5 | Link | link |
6 | Textbox | textbox |
7 | Div | div |
8 | Span | span |
Object_Type_Input: Object type of the cell for which click action is to be performed. Index: Index of the object in the cell. Index starts with 1 (default index).
For example: If there are two buttons in a table cell (2, 3), to perform the click operation on the second button, the user should provide input in the following format- 2; 3; button; 2
Find the snippet of the keyword below:
In the above example, after the test case debug, it will perform a click operation on the table cell given in the input, and the execution status “True”/ “False” will be stored in variable {click}.
Description: This keyword or action instructs Avo Assure Client to fetch the value present in the specified cell of the table and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getCellValue | <Row>; <Column> | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, it fetches the value present in the specified cell of the table and saves it in variable {get}. The execution status “True”/ “False” will be stored in variable {getCell}.
Description: This keyword or action instructs Avo Assure Client to fetch the input text's column number and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getColNumByText | <Input Text> | {Variable}; {Status} |
|
Note:
If multiple matches are found, the user should display/ use the values using an array. For Ex: {Variable[0]};{Variable[1]}
This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.
This keyword will pass only if the input value matches the values in the application under test.
Users can get the row/column number using partial/complete text.
Find the snippet of the keyword below:
In the above example, after the test case debugs, it fetches the column number of the given input text and stores it in {ColByText}, and the execution status “True”/ “False” will be stored in variable {colbyText_Status}.
Description: This keyword or action instructs Avo Assure Client to fetch the count of the total number of columns present in the table and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getColumnCount | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, it gives the total number of columns present in the table and stores it in {colCount}, and the execution status “True”/ “False” will be stored in variable {column}.
Description: This keyword or action instructs Avo Assure Client to fetch the count of the total number of rows present in the table and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getRowCount | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example, after the test case debug, it gives the total number of rows present in the table and stores it in {rowCount}, and the execution status “True”/ “False” will be stored in variable {row}.
Description: This keyword or action instructs Avo Assure Client to fetch the row number of the given input text and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getRowNumByText | <Input Text> | {Variable}; {Status} |
|
Note:
If multiple matches are found, the user should display/ use the values using an array. For Ex: {Variable[0]};{Variable[1]}
This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.
This keyword will pass only if the input value matches the values in the application under test.
Users can get the row/column number using partial/complete text.
Find the snippet of the keyword below:
In the above example, after the test case debugs, it fetches the row number of the given input text and stores it in {rowbyText}, and the execution status “True”/ “False” will be stored in variable {rowbyText_Status}.
Description: This keyword or action instructs Avo Assure Client to fetch the selected value from the dropdown/list in the table cell.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getSelected | <row_num>; <col_num>; <dropdown/ listbox>; <elementIndex> | {Variable};{Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debugs, it fetches the selected value from the dropdown/list, which is in the table cell, and stores it in variable {getselected}, and the execution status “True”/ “False” will be stored in variable {Sel}.
Description: This keyword or action instructs Avo Assure Client to fetch the table cell's radio button/checkbox status.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getStatus | <row_num>; <col_num>; <object_type>; <elementIndex> | {Variable} |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will fetch the checkbox status and store it in variable {getStatus}. The execution status “True”/ “False” will be stored in variable {Status}.
Description: This keyword or action instructs ICE to select the options based on the index value specified in the input for dropdown/list.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
selectValueByIndex | <row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput> | (Optional) |
|
Note: Only numerical values are allowed in input. The index starts with “0, " the first value from the dropdown/list.
Find the snippet of the keyword below:
In the above example, after the test case debug, it selects the options based on the index value specified in input for dropdown/list, and the execution status “True”/ “False” will be stored in variable {index}.
Description: This keyword or action instructs ICE to select the options based on the text provided in input for dropdown/list, which is in the table cell.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
selectValueByText | <row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, it selects the value from the dropdown based on the text provided in input, and the execution status “True”/ “False” will be stored in variable {text}.
Description: This keyword or action instructs Avo Assure Client to verify if the input value is present in the specified table cell.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
verifyCellValue | <Row>; <Column>; <Input Value> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, it verifies if the input value is present in the specified table cell, and the execution status “True”/ “False” will be stored in variable {verify}.
Description: This keyword or action instructs Avo Assure Client to verify if the text given in the input is present in the table.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
verifyTextExists | <Input Value> | (Optional) |
|
Find the snippet of the keyword below:
In the above example, after the test case debug, it verifies if the given text input is present in the table, and the execution status “True”/ “False” will be stored in variable {textExist}.
Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the text provided in the input for dropdown/list, which is in the table cell.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
selectByAbsoluteValue | <row_num>; <col_num>; <dropdown/ listbox>; <elementIndex>; <keywordInput (value/ option to be selected, exact text)> | {Variable}; {Status} |
|
Note:
This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.
This keyword will pass only if the input value matches the values in the application under test.
This keyword selects the values given in the input. To see selected values, the tester should use the “getSelected” keyword after the selected keyword.
Find the snippet of the keyword below:
In the above example, after the test case debug, it selects the value from the dropdown based on the text provided in the input, which is in the table cell, and the execution status “True”/ “False” will be stored in variable {SelText}.
Description: This keyword or action instructs Avo Assure Client to fetch the xpath of the inner table (dynamic tables) and save it as the reference variable in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getInnerTable | <row_num>; <col_num> (optional) | {Variable}; {Status} |
|
Find the snippet of the keyword below:
In the above example, after the test case debugs, it saves the xpath of the inner table in the output variable {innerTable}.
Note: This output variable can be further referenced, and operations on the inner table can be performed by passing this output variable as the input in @Object keywords.