Header

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

DataTable

The DataTable SFDC component supports the following actions:

  • Click

  • ClickCellWithCellText

  • ScrollAndStoreRowCount

  • SortColumnData

  • StoreCellText

  • StoreExistence

  • StoreRowNumberOfCellText

  • StoreRowNumberOfMultipleCellText

  • VerifyRowData

  • WaitForCellChildElement

  • WaitForCellClickability

  • WaitForCellNonClickability

  • WaitForCellExistence

  • WaitForCellInnerTextContains

  • WaitForCellInnerTextNotContains

  • WaitForCellInnerTextMatchesPattern

  • WaitForCellInnerTextToBe

  • WaitForCellInnerTextNotToBe

  • WaitForCellInvisibilty

  • WaitForCellNonExistence

  • WaitForCellSelection

  • WaitForCellSelectStateToBe

  • WaitForCellStaleness

  • StoreRowNumberOfCellText

  • VerifyPropertyValue

  • StorePropertyValue

  • MouseOver

  • VerifyExistence

  • VerifyEnability

  • VerifyVisibility

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

ClickCellWithCellText

This action clicks on cell according to the provided cell data, rowNumber and columnNumber.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

cellText

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

ScrollAndStoreRowCount

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

SortColumnData

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

StoreCellText

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

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Row Number

Yes

String

Column Number

Yes

String

key

Yes

String

StoreExistence

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

Input Parameters:

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

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

text

Yes

String

Column Number

No

Number

key

Yes

String

StoreRowNumberOfMultipleCellText

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

text

Yes

String

Column Number

Yes

Number

key

Yes

String

VerifyRowData

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Value

Yes

String

Row

Yes

Number

Column

Yes

String

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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

childLocatorType

Yes

String

childLocatorValue

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyExistence

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellClickability

This action waits until the cell of datatable becomes clickable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyClickability

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellNonClickability

This action waits until the cell of datatable becomes non-clickable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyNonClickability

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellExistence

This action waits for the cell to exist, i.e. it is in DOM, in datatable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyExistence

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellNonExistence

This action waits for the cell to not exist, i.e. it is not in DOM, in datatable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyNonExistence

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInnerTextContains

This action waits for inner text of the cell to contain the expected text until timeout expires. If cell/datatable 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyInnerText

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInnerTextNotContains

This action waits for inner text of the cell to not contain the expected text until timeout expires. If cell is 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyInnerText

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInnerTextMatchesPattern

This action waits for inner text of the cell to match the specified pattern 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerTextRegXPattern

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyInnerText

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInnerTextToBe

This action waits for inner text of the cell to be the expected inner text 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyInnerText

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInnerTextNotToBe

This action waits for inner text of the cell to not be the expected inner text 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

innerText

Yes

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keyInnerTextNotToBe

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellInvisibilty

This action waits for the cell to be invisible in datatable.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyInvisibility

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellSelection

This action waits for selection of the cell 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keySelection

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellSelectStateToBe

This action waits for selection state of the cell to be expected state 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedSelectionState

No

String

rowNumber

Yes

String

columnNumber

Yes

String

timeOut

No

String

pollingInterval

No

String

keySelectionState

No

String

statusIfConditionNotSatisfied

No

String

WaitForCellStaleness

This action waits for staleness of the cell 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.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

timeOut

No

String

rowNumber

Yes

String

columnNumber

Yes

String

pollingInterval

No

String

keyStatus

No

String

statusIfConditionNotSatisfied

No

String

VerifyPropertyValue

This action verifies the property of the specified object using property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

propertyName

Enter the property or attribute name as specified in the DOM structure.

Yes

String

value

Enter the property value you want to verify.

Yes

String

Example:

VerifyPropertyValue      "class"    "fr small"

StorePropertyValue

This action stores the property of the specified object using  property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter a variable to store the property value.

Yes

 String

propertyName

Enter the property or attribute name whose value you want to store.

Yes

 String

Example:

StorePropertyValue      "key"    "class"

MouseOver

This action hovers over the specified object.

This action does not have any parameters. 

Example:

MouseOver

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is enabled.

  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution

No

String

Example:

VerifyExistence      "True"

VerifyEnability

This action verifies the enability of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Enter one of the following:

  • True to verify that the object is enabled.

  • False to verify that the object is disabled.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyEnability      "True"

VerifyVisibility

This action verifies the visibility of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Enter one of the following:

  • True to verify that the object is visible

  • False to verify that the object is not visible.
    Note: If you do not enter any value, the default value is set to True during the test case execution.

No

String

Example:

VerifyVisibility     "True"

  • No labels