RoboCon 2022

HybridApp - hybrid testing
2022-05-20 , Main Hall

Does your company have a product available in the web and hybrid App? You can develop test automation for that separately using Selenium and Appium but why not to reuse existing test cases created for the web to test the same on hybrid app? You can save time for creating test cases and for maintenance. Let me show you how we do that in OmaPosti!


What is a hybrid app? It is not a typical native app. It is a container to show web pages. You can treat it as a custom mobile browser. How to create test automation for that?

Web test cases are created using Selenium library, Hybrid app test cases are created using Appium library - though Appium is meant for native app testing it has good support for hybrid apps e.g. changing contexts, so Appium is a natural candidate for hybrid app testing

But what happens if you need to do test automation of the same product for both web and hybrid app? There is an obvious strategy - do that separately: web in Selenium and hybrid app in Appium. However that requires double effort and time.

There is another possibility: Selenium cannot be used directly to test hybrid app but it can be used as a client for Appium server. That way the same test cases that are used to test web can be used to test hybrid app.
This is how you save time: you don't need to create the same test cases twice, you don't need to maintain two sets of automations.
This is how we do in OmaPosti!

I am test automation specialist, certificated by ISTQB. I have broad experience in testing both backend and frontend, and in functional and non-functional tests.
I have been using robot framework to automate testing for couple of years, I have used it and I have tuned it to my needs.
Currently employed by Posti Oy as Senior Test Engineer.