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 23 Next »

On this Page:

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

Add

This action moves the selected options from the Available list to the Selected list.

Parameter Name

Parameter Description

Mandatory

Data Type

elements

Add the values that you want to move to the Selected 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 the mouse over the specified object.

This action does not have any parameters

Example:

MouseOver

Remove

This action removes the selected options from the Selected list.

Parameter Name

Parameter Description

Mandatory

Data Type

elements

Add the values that you want to remove from the Selected 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 Selected list.

Example:

Remove All

StoreAvailableItems

This action stores all the available items in the Available list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the options in the Available list

Yes

 String

Example:

StoreAvailableItems      "key"                     

StoreSelectedItems

This action stores all the selected items in the Selected list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the selected options in the Selected 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

Yes

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