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 :
|
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 :
|
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 :
|
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 :
|
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. |
verifyGridRowCount
To verify if the total number of rows in the table (table mentioned in Object Name) is value mentioned in parameter 1. | Param 1 : Expected total number of rows | Example :
Verifies if the total number rows in grid companyTable is 15. |
verifyGridColumnCount
To verify if the total number of columns in the table (table mentioned in Object Name) is value mentioned in parameter 1. | Param 1 : Expected total number of columns | Example :
Verifies if the total number columns in grid companyTable is 15. |
0 Comments