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.
| Constructor and description |
|---|
MobileTestObject
(String objectId) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static MobileTestObject |
cloneFromTestObject(TestObject source) |
|
public String |
getLocator()The locator value of the test object. |
|
public Map<LocatorStrategy, String> |
getLocatorCollection() |
|
public LocatorStrategy |
getLocatorStrategy()The selected locator strategy of the test object. |
|
public MobilePlatform |
getPlatform() |
|
public void |
setLocator(String locator)Sets the locator value for the test object |
|
public void |
setLocatorCollection(Map<LocatorStrategy, String> locatorCollection) |
|
public void |
setLocatorStrategy(LocatorStrategy locatorStrategy)Sets the selected locator strategy for the test object |
|
public void |
setLocatorValue(LocatorStrategy locatorStrategy, String locator) |
|
public void |
setPlatform(MobilePlatform platform) |
The locator value of the test object.
The selected locator strategy of the test object.
Sets the locator value for the test object
locator - the locator valueSets the selected locator strategy for the test object
locatorStrategy - an enum value of LocatorStrategy