A new version of Qualitia Automation Studio 7.2.x is now available. We highly recommend you upgrade. Find more details here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

In order to automate mobile test cases on Windows Computer, you need to download and install Appium and Android Studio.

Once these components are installed and environment variables are set, your system is ready for test case executions.

Installing Appium

Appium is an open source test automation tool for mobile applications. Appium comes equipped with Inspector for object identification; however, users can also use UI Automatorviewer for mobile object identification.

Installing Android Studio

In order to test mobile applications using emulators, you need to use Android Studio. Once downloaded Android Studio, Qualitia users can create virtual devices / emulators and test the mobile applications using Qualitia. 

To install Android Studio:

  1. Download Android Studio.
  2. Once downloaded, double-click android-studio-bundle-windows.exe.
    This will start installation of Android Studio.
  3. Follow the on screen instructions and complete the studio installation.
    In order to get started with application testing using virtual devices (emulators), users need to create a project in Android Studio. 
  4. Once completed with the installation, launch Android Studio.
  5. Create a dummy project. 
  6. From the Tools menu, click Android and then select SDK Manager.
  7. Select required packages to install and click Apply.

     View Image

    System displays the list of components selected to be installed.

  8. Click OK

  9. Once all the required components are installed, click Finish.
    Now you can start creating virtual devices. For more information about creating and managing virtual devices (emulators), click here.

Installing Intel® Hardware Accelerated Execution Manager (Intel® HAXM)

It is recommended to install Intel® HAXM for smooth functioning of Android Virtual Devices (emulators). When installing Android Studio, it is installed automatically. However, if it is not installed when installing Android Studio, follow the steps mentioned below to install it. 

To install Intel® HAXM:

  1. Download Intel® HAXM.
  2. Unzip the downloaded file.
  3. Double-click the intelhaxm-android file.
    This opens Intel® Hardware Accelerated Execution Manager Setup wizard.
  4. Click Next.
    Here you can define how much system memory (RAM) you want to reserve for Intel® HAXM. By default, 2.00 GB is reserved.
  5. Change the reserved memory, if required and click Next.
  6. Click Install.
  7. After successful installation, open the Command Prompt window and run the command; sc query intelhaxm.
    If State is shown as Running, Intel® HAXM is running properly.

     View Image

    • When creating emulators, ensure that you have selected CPU/ABI as Intel x86 for superior performance of emulator through Intel® HAXM.
    • If you are facing any issues when installing or using Intel® HAXM, click here for troubleshooting. 

Setting Environment Variables

After you download command line tools and platform-tools, you must set environment variables.

To set Environment Variables:

  1. From desktop, right-click the Computer icon.
  2. Select Properties from the context menu.
  3. In the left pane, click Advanced System Settings.
  4. On the System Properties window, click Environment Variables.
  5. In the User Variables section, create new variable as ANDROID_HOME and set its path where you have unzipped the Android command line tools and then click OK.
    Note: The Android_Home path should not contain any white spaces.
  6. If Java_Home is not already set, double-click the JAVA_HOME variable, type the path to JRE/JDK and then click OK.
  7. In the System Variables section, select the PATH variable and type the path to 'Platform-tools' from the folder where command line tools are saved.
    For example: D:\Android\platform-tools;
  8. Click OK.



  • No labels