Book demo
Start trial
Book demo
Start trial


Automation insights and productivity tips from LEAPWORK.

All Posts

Test Automation of Native Apps on Real Devices

Enterprise mobile apps are mission-critical, but most enterprises have not yet solved the puzzle of how to perform test automation of native iOS and Android apps on real devices.

In this blog post, we show how easy it is to do just that with LEAPWORK and BrowserStack’s ( real device cloud.

If you can’t wait to see how it works, jump straight to the video below. Otherwise, read on as we discuss whether to use an on-premise or cloud device lab and how to make automation work without being stopped by a mountain of complex and unmaintainable code.


Watch full video below

Getting an enterprise-grade device lab

In order to automate native apps on real devices, the first thing you need is obviously access to some iOS and Android devices.

Due to security concerns, some enterprises want to use on-premise devices. Unfortunately, keeping a handful of old iPhones and some charging cables in a locked-down cabinet or on a shelf in the server room won’t work. You need a device lab with a lot of different mobile devices and well-proven processes to keep the lab running.

It’s very time-consuming and cost-prohibitive to setup an enterprise-grade device lab and then keep it constantly updated with the latest devices, browsers and OS versions. From hardware, to IT operations to DevSecOps, a lot of processes and infrastructure are needed to manage things like charging the devices appropriately and testing low battery scenarios, varying geographical locations, bad network connectivity and more.

The solution is simply to use cloud providers such as BrowserStack ( and Sauce Labs (, who provide enterprise-grade, SOC2/ISO compliant device labs in the cloud at a fraction of the cost of running on-premise. These device labs scale up from a few concurrent devices to thousands in a completely managed infrastructure.

Getting automation to actually work

Next, there are major challenges in actually getting automation to work, even if the device lab is set up properly. The logistics and glue-code needed to get open source native app frameworks such as Appium ( up and running is complex and time-consuming, and on top of that comes the challenge of actually writing robust, maintainable and scalable test code.

Some of the frameworks even require changes to the underlying native app code, which should be avoided if at all possible, as it may invalidate the results. Native apps should be tested through the eyes of real users – on real devices and using the apps without modifications.

The solution is to use LEAPWORK’s built-in no-code building blocks for image and text recognition in combination with a real device cloud like BrowserStack. It’s simple to set up, easy to learn, doesn’t require any coding skills and produces results in minutes and hours, instead of weeks and months.

Video demo: Automating native apps on real devices

The following is video demonstration of how to use LEAPWORK to automate native apps on real devices such as iPhones, iPads and Android devices. We’ll access the devices through the cloud from our friends at BrowserStack, but this works the same with Sauce Labs and other providers as well.



If you would like to learn more send us an email at

Book Demo

Maria Homann
Maria Homann
Content Marketing Manager

Related Posts

Working from Home During a Pandemic: 5 Things We’ve Learned So Far

Working from home is no longer an option for most people around the world – it’s a necessity. While some are thriving and enjoying this new reality, others struggle to stay productive, engaged and connected. For most, it’s undoubtedly unknown territory.

3 Automation Hacks that Keep your Web Applications Stable during Unpredictable Times

As the Coronavirus continues to spread across the globe, many people are spending an increasing amount of time online for work, entertainment, information and practical day-to-day purposes.

Testing ServiceNow: What, Why and How

Frequent system updates, as well as customization, put a lot of pressure on ServiceNow customers to continuously verify thousands of business-critical processes.