This section includes the detailed documentation for the following object classes of Mobile.
Mobile General Actions
Mobile.DragAndDropToObject
...
Parameter Nane | Parameter Description | Mandatory | Data Type |
---|---|---|---|
dragLocator | The locator value of the mobile element you want to drag. | Yes | String |
dragLocatorType | The locator type of mobile element you want to drag. | Yes | String |
dropToLocator | The locator value of the mobile element on which you want to drop. | Yes | String |
dropToLocatorType | The locator type of the mobile element on which you want to drop. | Yes | String |
Example:
Mobile.DragAndDropToObject dragLocator dragLocatorType dropToLocator dropToLocatorType
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
MobileCheckbox Actions
Check
This action selects the specified check box.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
MobileDropDown Actions
...
Note |
---|
These actions are available when working with the Android application testing only. |
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
MobileList Actions
Info |
---|
MobileList control is abstract control for any layout/widget having list-item like structures in UIAutomator. UIAutomation such as Android (android.widget.ListView, any RelativeLayout having listItems child, elements grandchild, and TableLayout android.widget.GridView) In the iOS platform, only UITable with UITableCell is seen (only that is supported for now). The following limitations of the MobileList control are:
|
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
MobileText Actions
ClearText
This action clears the text present in the specified MobileEdit box.
...
This action enters the value into the specified MobileEdit box. When you remove the mouse from the parameter in Test Case Editor screen, the value is displayed in the encrypted format.
Input Parameters:
Paramters Name | Parameter Description | Mandatory | String |
---|---|---|---|
Text | Enter the test that needs to be entered in the specified text box in the specified format. | Yes | String |
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
MobileRadioButton Actions
Note |
---|
These actions are available when working with the Android application testing only. |
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...