How to call appium driver using Katalon studio

Hi I want to call appium driver and do some actions using appium driver. Kindly help me.
Example:

AppiumDriver<?> driver = MobileDriverFactory.getDriver()

driver.findElementByXPath("//*[text()=‘REGISTER’]").click()

Error Below

Test Cases/Registration_TC_01 FAILED because (of) org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

For documentation on this error, please visit: Selenium

Kindly provide any working sample with native using katalon studio

Regards,
Shiva Oleti

Hi, You can try this

AppiumDriver<?> driver = MobileDriverFactory.getDriver()
driver.findElement(MobileBy.xpath("//xxxxx[@text=‘REGISTER’]")).click()

put the class name (you will get it from UI Automator viewer / Katalon Spy Mobile) instead of xxxxx