These keywords help us to perform specific actions on the elements in a table.
Suppose you wish to select a checkbox in a table.
Structure :
launchApp <parameter>
<steps to navigate to the screen that has the desired checkbox element>
selectCheckBoxInTable <parameter>
<further steps to execute>
Action | Parameters | Example Usage |
---|---|---|
clickLinkInTableCell
To click the link (index mentioned in Parameter 3) located at Column (Name or Index mentioned in Parameter 1) and Row number (mentioned in Parameter 2). | Param 1 : Name / Index of the Column | Example :
|
clickLinkInTableCellRelative
To click the link (name or index mentioned in Parameter 4) located at Column (Name mentioned in Parameter 3) and Row number will be identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name / Index of the Source Column | Example :
|
clickInTableCellRelative
To click in the cell, located at target column (mentioned in Parameter 3), and row identified under source column (mentioned in Parameter 1) with cell value (mentioned in Parameter 2). | Param 1 : Name of the Source Column | Example 1:
|
clickInTableCell
To click in the cell located at column (mentioned in Parameter 1) and row (mentioned in Parameter 2). | Param 1 : Name of the Column | Example 1 :
|
clickImageInTableCell
To click the Image (Image index mentioned in Parameter 3) located at (Column Name or Index mentioned in Parameter 1 and Row number mentioned in Parameter 2). | Param 1 : Name / Index of Column having image | Example :
|
copyTableRowCount
To copy the total number of rows inside the table (table mentioned in Object Name) into variable (variable mentioned in parameter 1). | Param 1 : Variable name to store value | Example :
|
copyTableColumnCount
To copy the total number of columns inside the table (table mentioned in Object Name) into variable (variable mentioned in parameter 1). | Param 1 : Variable name to store value | Example :
|
copyCellValueFromTable
To copy the cell value, at column (mentioned in Parameter 1) and row number (source column name mentioned in Parameter 2), in (variable mentioned in Parameter 3) from table (mentioned in object name). | Param 1 : Name of the source column | Example :
|
copyCellValueFromTableRelative
To copy the cell value, at column (mentioned in Parameter 3) at row identified by column(source column name mentioned in Parameter 1) and row(mentioned in Parameter 2), in (variable mentioned in Parameter 4) from table (mentioned in object name). | Param 1 : Name of the source column | Example :
|
deSelectCheckBoxInTable
To de-select the checkbox (index mentioned in Parameter 3, by default it is 1) with column (mentioned in Parameter 1) and Row number (mentioned in Parameter 2). | Param 1 : Name / Index of the Source Column | Example :
|
deSelectCheckBoxInTableRelative
To de-select the checkbox (index mentioned in Parameter 3, by default the index is 1) with Row number, identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name / Index of the Source Column | Example :
|
ifCellValueInTable
To check the condition if cell value, at column (mentioned in Parameter 1) and row number (mentioned in Parameter 2), is (value mentioned in Parameter 3) in table (mentioned in object name). | Param 1 : Name / Index of Source Column | Example :
To check if cell value is In-Progress from table bqTable for column Case Number for row number 1 |
ifCellValueInTableRelative
To check the condition if cell value, at column (mentioned in parameter 3) and row number identified with source Column (mentioned in Parameter 1) and row value (mentioned in parameter 2), is (value mentioned in Parameter 4) in table (mentioned in object name). | Param 1 : Name / Index of Source Column | Example :
To check if cell value is In-Progress in table bqTable for column Status for row number identified with source column Case Number and value 1000034 |
selectCheckBoxInTable
To select the checkbox (index mentioned in Parameter 3, by default it is 1) with column (mentioned in Parameter 1) and Row number (mentioned in Parameter 2). | Param 1 : Name / Index of the Source Column | Example :
|
selectCheckBoxInTableRelative
To select the checkbox (index mentioned in Parameter 3, by default it is 1) with Row number, identified by value (mentioned in Parameter 2) under column (mentioned in Parameter 1). | Param 1 : Name / Index of the Source Column | Example :
|
selectRadioButtonInTable
To select the radio button (mentioned in Parameter 3, by default the index is 1) with column (mentioned in Parameter 1) and row number (mentioned in Parameter 2). | Param 1 : Name / Index of the Source Column | Example :
|
setValueInTableCell
To enter the value (mentioned in parameter 1) in textbox, identified by Column name (mentioned in Parameter 2) and row number (mentioned in Parameter 3). | Param 1 : Value to set | Example :
|
selectByTextInListInTable
To select the option (visible text of option mentioned in parameter 1) in select box with index (index number mentioned in Parameter4, if multiple select boxes exist in cell) identified by Column (Name or Index mentioned in Parameter 2) and Row number (mentioned in Parameter 3). | Param 1 : Value to select | Example :
|
selectByTextInListInTableRelative
To select the value (mentioned in parameter 4) in select box with index (index number mentioned in Parameter 5), if multiple select boxes exist in cell) under Target column (mentioned in parameter 3) identified by source Column (Name or Index mentioned in Parameter 1) and it’s cell value (mentioned in Parameter 2). | Param 1 : Source Column Name | Example :
|
selectRadioButtonInTableRelative
To select the radio button (index mentioned in Parameter 3, by default the index is 1) in row with cell value (mentioned in Parameter 2) in source column (mentioned in Parameter 1). | Param 1 : Name of the source column | Example :
|
verifyTableRowCount
To verify the total number of rows in the table (mentioned in object) are equal to the number of rows mentioned in parameter 1. | Param 1 : Expected total number of rows | Example :
Verifies the total number of rows in table companyTable are 30. |
verifyTableColumnCount
To verify the total number of columns in the table (mentioned in object) are equal to the number of columns mentioned in parameter 1. | Param 1 : Expected total number of columns | Example :
Verifies the total number of columns in table companyTable is 5. |
verifyTableExists
To check, if table(mentioned in Object name) exists. | Example :
Verifies if the table COMPANYTABLE exists. | |
verifyCellValueInTable
To verify if the cell, at column (mentioned in Parameter 1) and row number (mentioned in Parameter 2), value is (value mentioned in Parameter 3). | Param 1 : Name / index of the source column | Example :
Verifies that the value of cell, at column Col1 and row number 4, is 000000027 in table bqTable |
verifyCellValueInTableRelative
To verify if the cell in column (mentioned in Parameter 3) and row identified with column (mentioned in Parameter 1) and row value (value mentioned in Parameter 2), value is (value mentioned in Parameter 4). | Param 1 : Name of the source column | Example :
Verifies, if the cell, at column Status and row identified with column Case Number and row value 000000027, value is closed in table bqTable. |