Document toolboxDocument toolbox

Header

Qualitia SFDCMultiselectPickList

On this Page:

Note:

SFDC objects do not support the following features:

  • Polling Interval and Time Out on object level

  • Wait actions

All the SFDCMultiselectPickList class actions work for the SFDC component html multiselect and checkboxMenuItem.

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

DeselectItemsByIndex

This action deselects the selected items by the index numbers that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the index numbers of the items that you want to deselect by separating them with a delimiter (^).

Yes

Array


Example:

For example, a multi-select picklist called as Select Multi Stages contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any. If you do not want Closed and Closed Won, then enter their index numbers as 2^3.

DeselectItemsByIndex     "2^3"


DeselectItemsByText

This action deselects the selected items by texts that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the items that you want to deselect by separating them with a delimiter (^).

Yes

Array


Example:

For example, a multi-select picklist called as Select Multi Stages contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any

DeselectItemsByText     "Closed^Closed Won^Needs Analysis"

SelectItemsByIndex

This action selects items by index numbers that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the index numbers of the items that you want to select by separating them with delimiter (^).

No

Array


Example:
For example, a multi-select picklist called as Select Multi Stage contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any. If you want to select Closed and Closed Won, then enter as "2^3".

SelectItemsByIndex     "2^3"

SelectItemsByText

This action selects items by texts that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the items that you want to  select by separating them with a delimiter (^).

Yes

Array


Example:
For example, a multi-select picklist called as Select Multi Stage contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any

SelectItemsByText     "Closed^Closed Won"

StoreAllItems

This action stores all the items present in the associated multi-select picklist.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the items available in the picklist.

Yes

 String

Example:

StoreAlltems        "key"                     

StoreItemCount

This action stores the number of items present in the associated multi-select picklist.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store all the items in the multi-select picklist.

Yes

 String

Example:

StoreItemCount     "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 a 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"

StoreSelectedItems

This action stores all the selected items.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter a variable to store all the selected items.

Yes

 String

Example:

StoreSelectedItems       "key"     

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"

VerifyItemsPresent

This action verifies the presence of the specified items.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfvalues

Enter the values that you want to verify in the list.

Yes

Array

Example:
For example, a multi-select picklist called as Select Multi Stage contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any

VerifyItemsPresent      "Open^Closed^Closed Won"

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

Yes

String

valueEnter the property value you want to verify.YesString

Example:

VerifyPropertyValue      "class"      "fr small"

VerifySelectedItems

This action verifies if the items are selected in the multi-select picklist as per the values that you specify.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfValues

Enter the values that you want to verify.

No

Array

Example:
For example, a multi-select picklist called as Select Multi Stage contains the values, such as Open, Closed, Closed Won, Prospecting, Qualification, Needs Analysis, and Any

VerifySelectedItems      "Open^Closed^Closed Won"

VerifyUnselectedItems

This action verifies if the items are not selected in the multi-select picklist as per the values that you specify.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfValues

Enter the values that you want to verify.

Yes

Array

Example:

VerifyUnselected    "Needs Analysis^Prospecting"

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"




Footer