Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below mentioned are actions along with their example usage.

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>

clickInTableCell

Web

To click in the cell located at column (mentioned in Parameter 1) and row (mentioned in Parameter 2).

Action

Parameters

Example Usage

selectCheckBoxInTable

clickLinkInTableCell

Web


To select click the checkbox link (index mentioned in Parameter 3, by default it is 1) with column () located at Column (Name or Index mentioned in Parameter 1) and Row number (mentioned in Parameter 2).

Param 1 : Name / Index of the Source Column
Param 2 : Index of the row
Param 3 : Index of the checkbox link

Example :

selectCheckBoxInTable

clickLinkInTableCell : <Object : bqTable>

<Source Column Name

<Column name / Index :

Case Number>

Col1> <Row Index :

4> <Checkbox

3> <Link Index : 2>

Selects Clicks on the second checkbox in column Case Number link located at Column Col1 and row 4 3 in table bqTable.

deSelectCheckBoxInTable

clickLinkInTableCellRelative

Web


To de-select click the checkbox link (name or index mentioned in Parameter 3, by default it is 1) with column (4) located at Column (Name mentioned in Parameter 13) 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
Param 2 : Cell Value
Param 3 : Name / Index of the rowTarget Column
Param 3 4 : Link text / Index of the checkbox

Example :

deSelectCheckBoxInTable

clickLinkInTableCellRelative : <Object : bqTable> <Source Column Name/Index :

Case Number> <Row Index : 4> <Checkbox

Col1> <Cell Value : 000000027> <Target Column Name / Index : Col2> <Link Text / Index : 2>

De-selects the second checkbox in column Case Number and row 4 Clicks on the second link located at Column Col2 and row where value is 000000027 under column Col1 in table bqTable

clickInTableCellRelative

Web


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
Param 2 : Cell Value
Param 3 : Name of the Target Column
Param 4 : Target XPath

Example 1:

clickInTableCellRelative : <Object : bqTable> <Source Column Name : Case Number> <Cell Value : 000000027> <Target Column Name : Status> <Target XPath : >

Clicks at cell located at target column Status and row with source column Case Number and cell value as 000000027 in table bqTable.

Example 2 :

clickInTableCellRelative : <Object : bqTable> <Source Column Name : File> <Cell Value : SampleTests> <Target Column Name : Delete> <Target XPath : .//span>

Clicks on target XPath located at target column Delete and row with source column File and cell value as SampleTests in table bqTable.

clickInTableCell

Web


To click in the cell located at column (mentioned in Parameter 1) and row (mentioned in Parameter 2).

Param 1 : Name of the Column
Param 2 : Row number
Param 3 : Target XPath

Example 1 :

clickInTableCell : <Object : bqTable> <Column Name : Col1> <Row Number : 3> <Target XPath : >

Clicks at cell located at column Col1 and row number 3 in table bqTable.

Example 2 :

clickInTableCell : <Object : bqTable> <Column Name : Delete> <Row Number : 1> <Target XPath : .//span>

Clicks on target XPath located at column Delete and row number 1 in table bqTable.

clickLinkInTableCell

clickImageInTableCell

Web


To click the link 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 the Column having image
Param 2 : Index of the rowRow
Param 3 : Index of the linkImage

Example :

clickLinkInTableCell

clickImageInTableCell : <Object :

bqTable>

bqTable > <Column

name

Name/Index : Col1> <Row Index : 3>

<Link

<Image Index : 2>

Clicks on the second link image located at Column Col1 and row 3 in table bqTable.

selectCheckBoxInTableRelative

Web

To .

copyTableRowCount

Web


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 :

copyTableRowCount : <Object : COMPANYTABLE> <In Variable : rowCount>

Copies the total number of rows inside the table COMPANYTABLE into variable rowCount

copyTableColumnCount

Web


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 :

copyTableColumnCount : <Object : COMPANYTABLE> <In Variable : columnCount>

Copies the total number of columns inside the table COMPANYTABLE into variable columnCount

copyCellValueFromTable

Web


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
Param 2 : Index of the row
Param 3 : Variable name to store value

Example :

copyCellValueFromTable : <Object : bqTable> <Source Column Name : organization> <Row Index : 3> <In Variable : bqVariable >

Copies cell value in bqVariable from table bqTable for column organization for row number 3

copyCellValueFromTableRelative

Web


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
Param 2 : Source Column cell value
Param 3 : Name of the target column
Param 4 : Variable name to store value

Example :

copyCellValueFromTableRelative : <Object : bqTable> <Source Column Name : Status > <Cell Value : Running > <Target Column Name : organization > <In Variable : bqVariable >

Copies cell value in bqVariable from table bqTable for column organization for row number identified with source column Status with value Running

deSelectCheckBoxInTable

Web


To de-select the checkbox (index mentioned in Parameter 3, by default it is 1) with Row number, identified by value column (mentioned in Parameter 2) under column 1) and Row number (mentioned in Parameter 12). 

Param 1 : Name / Index of the Source Column
Param 2 : Cell ValueIndex of the row
Param 3 : Index of the checkbox

Example :

selectCheckBoxInTableRelative

deSelectCheckBoxInTable : <Object : bqTable> <Source Column Name / Index :

Col1> <Cell Value : 000000027>

Case Number> <Row Index : 4> <Checkbox Index : 2>

Selects De-selects the second checkbox in row identified with value 000000027 under column Col1 column Case Number and row 4 in table bqTable.

deSelectCheckBoxInTableRelative

Web


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
Param 2 : Cell Value
Param 3 : Index of the checkbox

Example :

deSelectCheckBoxInTableRelative : <Object : bqTable> <Source Column Name / Index : Col1> <Cell Value : 000000027> <Checkbox Index : 2>

De-selects the second checkbox in row identified with value 000000027 under column Col1 in table bqTable.

clickLinkInTableCellRelative

ifCellValueInTable

Web


To click the link (name or index mentioned in Parameter 4) located at Column (Name mentioned in Parameter 3) and Row number will be 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
Param 2 : Index of the Row
Param 3 : Cell Value

Example :

ifCellValueInTable : <Object : bqTable> <Source Column Name/Index : Case Number> <Row Index : 1> <Value : In-Progress>

To check if cell value is In-Progress from table bqTable for column Case Number for row number 1

ifCellValueInTableRelative

Web


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
Param 2 : Cell Value
Param 3 : Name of Target Column
Param 4 : Value

Example :

ifCellValueInTableRelative <Object : bqTable> <Source Column Name/Index : Case Number> <Cell Value : 1000034> <Target Column Name : Status > <Value : In-Progress>

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

Web


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
Param 2 : Index of the row
Param 3 : Index of the checkbox

Example :

selectCheckBoxInTable : <Object : bqTable> <Source Column Name / Index : Case Number> <Row Index : 4> <Checkbox Index : 2>

Selects the second checkbox in column Case Number and row 4 in table bqTable.

selectCheckBoxInTableRelative

Web


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
Param 2 : Cell Value
Param 3 : Name / Index of the Target Column
Param 4 : Link text / Indexcheckbox

Example :

clickLinkInTableCellRelative

selectCheckBoxInTableRelative : <Object : bqTable> <Source Column Name / Index : Col1> <Cell Value : 000000027>

<Target Column Name /

<Checkbox Index :

Col2> <Link Text / Index :

2>

Clicks on Selects the second link located at Column Col2 and row where value is checkbox in row identified with value 000000027 under column Col1 in table bqTable.

selectRadioButtonInTable

Web


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
Param 2 : Index of Row
Param 3 : Index of radio to be selected

Example :

selectRadioButtonInTable : <Object : bqTable> <Source Column Name/Index : Case Number> <Row Index : 4> <Radio Index : 2>

Selects the second radio in column Case Number and row 4 in table bqTable

setValueInTableCell

Web


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
Param 2 : Name of the column to set value
Param 3 : Row number to set value in textbox
Param 4 (Optional) : Index of textbox, if multiple textboxes available for the specified row
Param 5 (Optional) : Execution mode

Example :

setValueInTableCell : <Object : bqTable> <Value : bqurious> <Column Name : Organization> <Row Number : 1> <Index, if multiple textbox : 2> <Execution Mode : >

Enters the value bqurious in second textbox, located at Column Organization and Row 1 in table bqTable.

clickInTableCellRelative

selectByTextInListInTable

Web


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 2select 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 : Name of the Source ColumnValue to select
Param 2 : Cell Value
Param 3 : Name of the Target Column

Example :

clickInTableCellRelative : <Object : bqTable> <Source Column Name : Case Number> <Cell Value : 000000027> <Target Column Name : Status>

Clicks at cell located at target column Status and row, with source column Case Number and cell value as 000000027 in table bqTable.

Param 1 : Name of the Column
Param 2 : Row number

Example :

clickInTableCell : <Object : bqTable> <Column Name : Col1> <Row Number : 3>

Clicks at cell located at column Col1 and row number 3 in table bqTable.

selectByTextInListInTable

Name / Index of Column
Param 3 : Index of the Row
Param 4 : Index of select box, if multiple select box exist

Example :

selectByTextInListInTable : <Object : bqTable> <Value : bqurious> <Column Name/Index : Organization> <Row Index : 1> <Index, if multiple select box : 2>

Selects the option bqurious in second select box located at column Organization and row 1 in table bqTable

selectByTextInListInTableRelative

Web


To select the option value (visible text of option mentioned in parameter 14) in select box with index (index number mentioned in Parameter4Parameter 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 21) and Row number it’s cell value (mentioned in Parameter 32).

Param 1 :Value to select Source Column Name
Param 2 :Name / Index of Column Cell Value
Param 3 :Index of the Row Target Column Name
Param 4 :Index of select box Value to Select
Param 5 : Index, if multiple select box exist

Example :

selectByTextInListInTable

selectByTextInListInTableRelative : <Object : bqTable>

<Value : bqurious> <Column Name/Index : Organization> <Row Index : 1>

<Source Column Name : Organization> <Cell Value : Bqurious> <Target Column Name : Department> <Value to Select : Developer> <Index, if multiple select box : 2>

Selects the option bqurious Developer in second select box located at column Organization and row 1 Department and identified by Source column Organization with cell value as Bqurious in table bqTable.

selectRadioButtonInTableRelative

Web


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
Param 2 : Cell Value
Param 3 : Index of the radio button

Example :

selectRadioButtonInTableRelative : <ecObjt : bqTable> <Source Column Name : Case Number> <Cell Value : 000000027> <Radio Index : 2>

Selects the second radio in row with cell value 000000027 in column Case Number in table bqTable.

clickImageInTableCell

verifyTableRowCount

Web, Mobile


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)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 : Name / Index of Column having imageExpected total number of rows
Param 2 : Index of Row
Param 3 : Index of Image(Optional) : Timeout

Example :

verifyTableRowCount : <Object : companyTable> <Total Rows : 30> <Timeout : 30>

Verifies the total number of rows in table companyTable are 30.

verifyTableColumnCount

Web


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 :

clickImageInTableCell

verifyTableColumnCount : <Object :

bqTable > <Column Name/Index : Col1> <Row Index : 3> <Image Index : 2>

Clicks the second image located at Column Col1 and row 3 in table bqTable.

ifCellValueInTable

companyTable> <Total Rows : 5>

Verifies the total number of columns in table companyTable is 5.

verifyTableExists

Web


To check the condition if cell value, if table(mentioned in Object name) exists.

Example :

verifyTableExists : <Object : COMPANYTABLE >

Verifies if the table COMPANYTABLE exists.

verifyCellValueInTable

Web


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) in table (mentioned in object name).

Param 1 : Name / Index of Source Columnindex of the source column
Param 2 : Index of the Row index
Param 3 : Cell Value at row index

Example :

ifCellValueInTable verifyCellValueInTable : <Object : bqTable> <Source Column Name/Index : Case Number> Col1> <Row Index : 1> 4> <Value : In-Progress>

To check if cell value is In-Progress from table bqTable for column Case Number for row number 1

ifCellValueInTableRelative

000000027>

 Verifies that the value of cell, at column Col1 and row number 4, is 000000027 in table bqTable

verifyCellValueInTableRelative

Web


To check verify if the condition if cell value, at in column (mentioned in parameter Parameter 3) and row number identified with source Column column (mentioned in Parameter 1) and row value (value mentioned in parameter Parameter 2), value is (value mentioned in Parameter 4) in table (mentioned in object name).

Param 1 : Name / Index of Source Columnof the source column
Param 2 : Cell Valuevalue under the source column
Param 3 : Name of Target Columnthe target column
Param 4 : Value under the target column

Example :

ifCellValueInTableRelative verifyCellValueInTableRelative : <Object : bqTable> <Source Column Name /Index : Case Number> <Cell Value : 1000034> 000000027> <Target Column Name : Status > <Value : In-Progress>To check if cell value is In-Progress in table bqTable for column Status for row number identified with source closed >

Verifies, if the cell, at column Status and row identified with column Case Number and value 1000034row value 000000027, value is closed in table bqTable.