Hybrid apps' automation
Hybrid apps are a combination of native and web apps; similar to native apps, you can get hybrid apps through an application store. Nowadays, hybrid apps are very popular because they give us a cross-platform solution and display the content they get from the Web.
Android hybrid apps
Here, we are going to take an example of testApp
; you can get it from https://github.com/manojhans/Appium/blob/master/Application/Android/testApp.zip?raw=true.
If you are working with an Android version less than 4.4, then you have to use Selendroid (in that case, you have to set the capability as caps.setCapability (MobileCapabilityType.AUTOMATION_NAME,"Selendroid")
), otherwise Appium has a built-in support through ChromeDriver.
While working ...
Get Appium Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.