Document toolboxDocument toolbox

Header

(8.3.0) SFDCPickList

On this Page:

All the SFDCPicklist class actions work for the following SFDC components: 

  • select
  • combobox
  • radioMenuItem
  • input-select
  • input-select-option

The following table describes how Qualitia Automation Studio (QAS) identifies and adds a pick list into the object repository when using the Qualitia Automation Recorder or Chrome Object Spy:

SFDC ComponentAdded by Qualitia Automation Recorder or Chrome Object Spy
select

<picklistname>_select

combobox<picklistname>_combobox
radioMenuItem<picklistname>_radioMenuItem
input-select<picklistname>_inputSelect

input-select-option

<picklistname>_inputSelect

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

SelectItemByText

This action selects the item that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the item that you want to select

Yes

String


Example:

In Classic theme, the Opportunities page contains the field: Stage, which has 11 options, such as Open, Closed, Closed Won, and Prospecting.

SelectItemByText    "Prospecting"

SelectItemByIndex

This action selects the items for a pick    list as per the index number that you specify.


Parameter Name

Parameter Description

Mandatory

Data Type

items

Enter the index numbers of the item that you want to select.

No

String


Example:

In Classic theme, the Opportunities page contains the field: Stage in which Needs Analysis is the third option.

SelectItemByIndex     "3"

StoreAllItems

This action stores all the items present in the associated pick list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

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

Yes

 String

Example:

StoreAlltems          "key"             

StoreItemsCount

This action stores the number of items present in the associated pick list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store number of items in the pick list.

Yes

 String

Example:
In Classic theme, the Opportunities page contains the field: Stage, which has 11 options. You can store the number of options (11) into a variable.

StoreItemsCount           "key"               

StoreSelectedItems

This action stores the selected items present in the associated pick list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the variable to store the selected items present in the associated pick 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"

VerifyItemsPresent

This action verifies the presence for the items that you specify. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfValues

Enter the values that you want to verify in the list by separating them with a delimiter (^).

Yes

Array

Example:
In Classic theme, the Opportunities page contains the field: Stage, which contains 11 options, such as Value Proposition, Needs Analysis, Prospecting, and Qualification.

VerifyItemsPresent      "Value Proposition^Needs Analysis^Prospecting^Qualification"

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 specified item is selected in the pick list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfValues

Enter the value that you want to verify if it is selected in the pick list.

Yes

Array

Example:

VerifySelectedItems      "Prospecting"

VerifyUnselectedItems

This action verifies if the specified items are not selected in the pick list.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

listOfValues

Enter the values that you want to verify that they are deselected in the pick list by separating them with a delimiter (^).

Yes

Array

Example:

VerifyUnselectedItems      "Needs Analysis^Prospecting^Qualification"

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