How to automate Android native app using Leapwork on Android simulator?

How to automate Android native app using Leapwork on Android simulator?

Introduction

Leapwork's 2022.2.700 release provides users with the ability to automate native mobile apps (both on IOS and on Android). With the help of an Appium server set up on the machine, users can now run their test case scenarios on their actual physical devices as well as the Android simulators.

In this article, we will take a look at how to create a virtual device on the local machine using Android Studio. We will also try to create an automation flow that will navigate to the Leapwork official website on the virtual device created.

But before that, below are some requirements in order to get our devices ready for automation:

  1. We need an Appium Server up and running on our local machine where we want to set up mobile automation. Click here for the steps.
  2. We would also need to set up an Android Native Environment before we set up the Appium Server. Click here to know how to set up the environment.

With the above two requirements in place, we can now proceed with the steps.

Step 1: Creating a virtual device in Android Studio.

Step 2: Setting up the configuration for the Virtual Android Device.

Step 3: Creating the flow.

There we have it, our flow created in Leapwork for the virtual device that was created in the android studio in the same way, we can automate any other application that we have on our virtual device.

If you have any questions, please reach out to our Priority Support team.