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 29 Current »

On this Page:

All the SFDCDualListbox class actions work for the SFDC component Dual-listbox.

Add

This action moves the selected options from the first list to the second list.

Parameter Name

Parameter Description

Mandatory

Data Type

elements

Add the values that you want to move to the second list by separating them with a delimiter (^).

Yes

String


Example:

Add      "Campaign 1^Campaign 2^Campaign 3" 

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

MouseOver

This action hovers over the specified object.

This action does not have any parameters

Example:

MouseOver

Remove

This action removes the selected items from the second list that you specify.

Parameter Name

Parameter Description

Mandatory

Data Type

elements

Enter the values that you want to remove from the second list by separating them with a delimiter (^).

Yes

String


Example:

Remove   "Campaign 4^Campaign 11"

RemoveAll

This action removes all the selected options from the second list.

Example:

Remove All

StoreAvailableItems

This action stores all the items present in the first list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the items present in the first list

Yes

 String

Example:

StoreAvailableItems      "key"                     

StoreSelectedItems

This action stores all the items present in the second list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the items present in the second list.

Yes

 String

Example:

StoreSelectedItems     "key"     

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 the key name 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"

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, by default the value is set to True during the test case execution.

No

String

Example:

VerifyEnability      "True"

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, by default the value is set to True during the test case execution

No

String

Example:

VerifyExistence      "True"

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 as specified in the DOM structure.

Yes

String

valueEnter the property value you want to verify.YesString

Example:

VerifyPropertyValue      "class"    "fr small"

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, by default the value is set to True during the test case execution.

No

String

Example:

VerifyVisibility            "True"




  • No labels