Document toolboxDocument toolbox

Header

(8.6.X) SFDCProgressIndicator

ProgressIndicator

  • StoreStageState

  • VerifyStageHasError

  • VerifyIsStageCompleted

  • StoreCountOfCompleteStages

  • StoreStageNameByIndex

  • ClickStageByValue

  • ClickStageByIndex

  • Click

  • StorePropertyValue

  • VerifyPropertyValue

  • VerifyExistence

  • VerifyEnability

  • VerifyVisibility

  • StoreExistence

  • MouseOver

StoreStageState

This action stores the state (Completed, Error, InProgress, Incomplete) of the progress indicator stage in the key provided.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter a variable to store the stage value.

Yes

 String

StageName

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

Yes

 String

Example:

StoreStageState      "key_3" “Completed”

VerifyStageHasError

This action verifies whether the provided stage has any error.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

StageName

Enter one of the following:

  • True to verify that the stage has an error.

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

Yes

 String

Example:

VerifyStageHasError      "Closed"

VerifyIsStageCompleted

This action verifies whether the provided stage is completed or not.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

StageName

Enter one of the following:

  • True to verify that the stage is completed.

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

Yes

 String

Example:

VerifyIsStageCompleted      "Completed"

StoreCountOfCompleteStages

This action stores the count of completed stages in the provided key.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter a variable to store the count of completed stages.

Yes

 String

Example:

StoreCountOfCompleteStages      "key_1"

StoreStageNameByIndex

This action stores the stage name in the key of stage who's Index is provided.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the key in which the stage name will be stored.

Yes

 String

index

Enter the index of the stage.

Yes

String

Example:

StoreStageNameByIndex      "key_2" “2”

ClickStageByValue

This action clicks the stage of progress indicator component by value.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

stageName

Enter the stage name that must be clicked.

Yes

 String

Example:

ClickStageByValue      "Processing"

ClickStageByIndex

This action performs the click operation on the stage who's index is provided.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Parameter Name

Parameter Description

Mandatory

Data Type

index

Enter the stage index that must be clicked.

Yes

 String

Example:

ClickStageByIndex      "1"

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

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

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"

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

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"

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

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

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

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"

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

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"

MouseOver

This action hovers over the specified object.

This action does not have any parameters. 

Example:

MouseOver

Footer