Versions Compared

Key

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

...

Parameter Name

Parameter Description

Mandatory

Data Type

cellText

Enter the text of the cell.

Yes

String

rowNumber

Enter the index of the row.

Yes

String

columnNumber

Enter the index of the column.

Yes

String

Example:

ClickCellWithCellText “Test1” “5” “1”

ScrollAndStoreRowCount

This action scrolls till the last row and stores the total row count of the table.

...

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the key in which the row count will be stored.

Yes

String

Example:

ScrollAndStoreRowCount “key_1”

SortColumnData

This action sorts the data when the user clicks on heading cell of any particular column.

...

Parameter Name

Parameter Description

Mandatory

Data Type

columnName

Enter the name of the column.

Yes

String

sortOrder

Enter the direction in which the data needs to be sorted. 1 indicates ascending order and 2 indicates descending order.

No

String

Example:

SortColumnData “Account Name” “1”

StoreCellText

This action stores the cell data in key of the provided row number and column number.

...

Parameter Name

Parameter Description

Mandatory

Data Type

rowNumber

Enter the index of the row.

Yes

String

columnNumber

Enter the index of the column.

Yes

String

key

Enter the key in which the row count will be stored.

Yes

String

Example:

StoreCellText “1” “3” “key_2”

StoreExistence

This action stores existence of the object under the specified key. The key value can be retrieved using the key name. 

...

Parameter Name

Parameter Description

Mandatory

Data Type

Key

Enter the key name under which the existence's Boolean value will be stored. 

  • Stores True if the object exists.

  • Stores False if the object does not exist.

Yes

String

Example:

StoreExistence                               "Key"

StoreRowNumberOfCellText

...

Parameter Name

Parameter Description

Mandatory

Data Type

text

Enter the text of the cell.

Yes

String

columnNumber

Enter the index of the column.

No

Number

key

This will return the row number.

Yes

String

Example:

StoreRowNumberOfCellText             "Test1" “1” “key_3”

StoreRowNumberOfMultipleCellText

...

Parameter Name

Parameter Description

Mandatory

Data Type

text

Enter the text of multiple cells separated by delimiter.

Yes

Array

columnNumber

Enter the index of the column respective to cell data (separated by delimiter).

Yes

Number

key

This will return the row number.

Yes

String

VerifyRowData

Input Parameters:

Example:

StoreRowNumberOfMultipleCellText         "Test1^India^998660^Active" “1^2^3^4” “key_4”

VerifyRowData

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

rowNumber

Enter a number which points to the row as per listOfValues.

Yes

Number

listOfValues

Enter the values with a separator/delimiter as caret.

Yes

Array

Example:

VerifyRowData         “2”"Test1^India^998660^Active"

WaitForCellChildElement

This action waits for the cell to contain child element until timeout expires. If object is not found in the DOM, step status will fail. If key is provided, status will be stored in key. The status depends on the statusIfConditionNotSatisfied parameter.

...

Parameter Name

Parameter Description

Mandatory

Data Type

childLocatorType

Enter the locator type of cell’s child element.

Yes

String

childLocatorValue

Enter the locator value of cell’s child element.

Yes

String

rowNumber

Enter the index of the row.

Yes

String

columnNumber

Enter the index of the column.

Yes

String

timeOut

Enter the timeout (in seconds) to wait for the object visibility.

No

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout.

No

String

key

Enter the key name under which the status of the step needs to be stored. It stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to display in the report if the expected condition is not satisfied. The value for this parameter can be Pass, Fail, and Defect.

No

String

Example:

WaitForCellChildElement “Xpath” “//*[@id=”brandBand_1”]/div/div/div/ “10” “5”

div/div[2]/div/div[1]/div[2]/div[2]/div[1]

/div/div/table/tbody/tr[3]/th/span/a”

WaitForCellClickability

This action waits until the cell of datatable becomes clickable.

...

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

Enter the timeout (in seconds) to wait for the object visibility.

No

String

rowNumber

Enter the index of the row.

Yes

String

columnNumber

Enter the index of the column.

Yes

String

pollingInterval

Enter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout.

No

String

keyClickability

Enter the key name under which the status of the step needs to be stored. It stores 0 for Pass, 1 for Fail, and 2 for Defect.

No

String

statusIfConditionNotSatisfied

Enter the status of the step you want to display in the report if the expected condition is not satisfied. The value for this parameter can be Pass, Fail, and Defect.

No

String

Example:

WaitForCellClickability         “10”“2” “2” “5”"keyClickability" “Fail”

WaitForCellNonClickability

...