public class MobileTestObject extends TestObject
An extended class of TestObject for the Mobile object specifically. MobileTestObject describes the way Katalon Studio finds Appium Element via the mobileLocator and mobileLocatorStrategy.
| Modifiers | Name | Description |
|---|---|---|
static enum |
MobileTestObject.MobileLocatorStrategy |
Support almost of Appium selector strategies that describes via this link http://appium.io/docs/en/commands/element/find-elements/#selector-strategies |
| Constructor and description |
|---|
MobileTestObject
(String objectId) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public String |
getMobileLocator()The locator value of the test object. |
|
public MobileLocatorStrategy |
getMobileLocatorStrategy()The selected locator strategy of the test object. |
|
public void |
setMobileLocator(String mobileLocator)Sets the locator value for the test object |
|
public void |
setMobileLocatorStrategy(MobileLocatorStrategy mobileLocatorStrategy)Sets the selected locator strategy for the test object |
The locator value of the test object.
The selected locator strategy of the test object.
Sets the locator value for the test object
mobileLocator - the locator valueSets the selected locator strategy for the test object
mobileLocatorStrategy - an enum value of MobileLocatorStrategy