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 6 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

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

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 is 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

WaitForCellExistence

WaitForCellInnerTextContains

WaitForCellInnerTextNotContains

WaitForCellInnerTextMatchesPattern

WaitForCellInnerTextToBe

WaitForCellInnerTextNotToBe

WaitForCellInvisibilty

WaitForCellNonExistence

WaitForCellSelection

WaitForCellSelectStateToBe

WaitForCellStaleness

StoreRowNumberOfCellText

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