Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Appium Essentials

You're reading from   Appium Essentials Explore mobile automation with Appium and discover new ways to test native, web, and hybrid applications

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784392482
Length 188 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Automating hybrid apps


A hybrid app is 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 provide a cross-platform solution and display the content that they get from the Web rather than the contents installed on the device only.

Android hybrid apps

Here, we will take an example of the Hybridtestapp; you can get it from https://github.com/manojhans/Appium/blob/master/Application/Android/Hybrid/Hybridtestapp.zip?raw=true.

If you are working with an Android version higher than 4.4, then you have to use Selendroid (in that case, you have to set the capability as (MobileCapabilityType.AUTOMATION_NAME,"Selendroid")); otherwise, Appium has built-in support through the ChromeDriver.

While working with hybrid apps, you need to make the changes defined at https://developer.chrome.com/devtools/docs/remote-debugging#configure-webview. We have already made these changes in Hybridtestapp....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime