The LEAP

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 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.

 

 

Interested in learning more? Book a demo of LEAPWORK to learn more or start a trial below.

Start Trial LEAPWORK

Maria Homann
Maria Homann
Content Marketing Manager

Related Posts

DevOps Automation: 5 Steps Towards Continuous Delivery

Automation is a prerequisite for success with DevOps. Especially, test automation is a key ingredient when it comes to providing fast and accurate feedback to testers and developers which, in turn, enables quick reactions to errors, bugs, and changing requirements.

How to Create a DevOps CI/CD Pipeline (With Example)

A CI/CD pipeline aims to mitigate the risks involved in releasing the software into production. However, its efficiency relies heavily on automation, so achieving success with DevOps stands or falls with how well the development department works with automation and which tools are at their disposal.

The Basics of Automating Oracle - Test automation and RPA

Oracle is one of the largest enterprise software vendors in the world, providing global businesses with databases, ERPs and other solutions for core business processes to run on.