Header
(8.6.X) SFDCCheckBox
Note:
SFDC objects do not support the following features:
Polling Interval and Time Out on object level
Wait actions
All the SFDCCheckBox class actions work for the following SFDC components:
- inputCheckbox
- checkbox-group
The following table describes how Qualitia Automation Studio (QAS) identifies and adds a checkbox into the object repository when using the Qualitia Automation Recorder or Chrome Object Spy:
QAS Recorder and Chrome Object Spy | Example | |
---|---|---|
If the checkbox is not part of a group: (inputCheckbox) | Adds the checkbox name as an object in the format: <ObjectName>_inputCheckbox. The QAS recorder also adds the associated action that was captured. | If a checkbox name is called Occupation, then it adds the object as Occupation_inputCheckbox. |
If the checkbox is part of a group: (checkbox-group) | Adds the checkbox group as an object in the format: <CheckboxGroupName>_checkboxGroup. The QAS recorder also adds the associated action that was captured. If the associated action contains any parameter, then QAS Recorder adds the selected checkbox name in the associated parameter. | If a checkbox group is called Industry and you select the checkbox called IT, then an object called Industry_checkboxGroup is added and the selected checkbox is added in the associated parameters. |
Click
This action clicks the specified object.
This action does not have any parameters.
Example:
Click
Check
This action checks the checkbox.
This action is not applicable for the checkboxGroup component.
Example:
Check
CheckByValues
This action checks the checkboxes as per the values that you specify.
This action is not applicable for the inputCheckBox component.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
values | Enter the values of the checkboxes that you want to select by separating them with a tilde (~) and a delimiter (^). | Yes | String |
Example:
For example, if a checkbox group called Stage contains multiple checkboxes: Open, Closed, Closed Won. You can check them.
CheckByValues "Open~^Closed~^Closed Won"
MouseOver
This action hovers over the specified object.
This action does not have any parameters.
Example:
MouseOver
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"
Uncheck
This action deselects the checkbox of a page.
This action is not applicable for the checkboxGroup component.
Example:
Uncheck
UncheckByValues
This action deselects the checkboxes as per the values that you specify.
This action is not applicable for the inputCheckBox component.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
values | Enter the name of the checkboxes that you want to deselect by separating them with a tilde (~) and a delimiter (^). | Yes | String |
Example:
For example, if a checkbox group called Stage contains multiple checkboxes: Open, Closed, Closed Won. You can uncheck them.
CheckByValues "Open~^Closed~^Closed Won"
VerifyChecked
This action verifies whether the checkboxes are selected as per the values that you specify.
If the SFDC component is inputCheckBox, then specify a single value.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listOfValues | Enter the values of the checkboxes that you want to select by separating them with a tilde (~) and a delimiter (^). | No | String |
Example:
For example, in the Classic theme, the New Accounts Checks page contains the set[num123] checkbox. You can verify if it is checked.
VerifyChecked "set[num123"
For example, if a checkbox group called Stage contains multiple checkboxes: Open, Closed, Closed Won. You can verify if they are checked.
VerifyChecked "Open~^Closed~^Closed Won"
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:
| 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:
| 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 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"
VerifyUncheck
This action verifies whether the checkboxes are deselected as per the values that you specify.
If the SFDC component is inputCheckBox, then specify a single value.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listOfValues | Enter the values that you want to deselect by separating them with a a tilde (~) and a delimiter (^). | Yes | String |
Example:
For example, in the Classic theme, the New Accounts Checks page contains the set[num123] checkbox. You can verify if it is unchecked.
VerifyUncheck "set[num123"
For example, if a checkbox group called Stage contains multiple checkboxes: Open, Closed, Closed Won. You can verify if they are unchecked.
VerifyUncheck "Open~^Closed~^Closed Won"
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:
| No | String |
Example:
VerifyVisibility "True"
Footer