Does Katalon 7.2.1 supports Hybrid Mobile App?
Katalon Studio partially supports Hybrid Mobile App. You can use Mobile keywords to automate your app but Katalon’s Mobile Spy/Recorder doesn’t support to detect elements at this moment. You should follow this guide from Appium to inspect hybrid app elements.
If it supports can you please help me with switching context and testing the app
Katalon Studio provides 2 keywords that help you can switch contexts:
Sample code to automate hybrid app’s elements:
Mobile.switchToWebView()
DriverFactory.changeWebDriver(MobileDriverFactory.getDriver())
TestObject cdmDetails = new TestObject()
cdmDetails.addProperty("id", ConditionType.EQUALS, "119")
WebUI.setText(cdmDetails, "123")
Mobile.switchToNative()