Hi all,
I try to get Xpath of 1 Mobile Test Object, but failure.
test code is not working:
AppiumDriver<?> driver = MobileDriverFactory.getDriver()
String xpath = object.findPropertyValue(“xpath”)
Hi all,
I try to get Xpath of 1 Mobile Test Object, but failure.
test code is not working:
AppiumDriver<?> driver = MobileDriverFactory.getDriver()
String xpath = object.findPropertyValue(“xpath”)
You need to instantiate a TestObject by calling findTestObject()
method of the com.kms.katalon.core.testobject.ObjectRepository
class.
TestObject object = findTestObject(....)
String xpath = object.findPropertyValue(“xpath”)