Table of Contents |
---|
In order to automate mobile test cases on Windows Computers using virtual devices (also called emulators), you must download and install Appium and Android Studio and Intel® HAXM.
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.
- Download and install Appium.
Info |
---|
Executing test case on real device does not require Android Studio. |
Installing Android Studio
Multiexcerpt macro | ||
---|---|---|
| ||
In order to test Android mobile applications, you need to download Android Studio. Once Android Studio is downloaded, Qualitia users can create virtual devices / emulators and test the mobile applications using Qualitia. You can view the detailed procedure about creating and managing Android virtual devices, click here. To install Android Studio:
|
...
|
...
...
|
...
...
|
...
...
|
...
...
|
...
|
...
Installing Intel® Hardware Accelerated Execution Manager (Intel® HAXM)
...
- From desktop, right-click the Computer icon.
- Select Properties from the context menu.
- In the left pane, click Advanced System Settings.
- On the System Properties window, click Environment Variables.
- In the User Variables section, create new variable as ANDROID_HOME and enter the path of Android SDK.
To find the Android SDK location, launch Android Studio > File > Settings. Copy the path specified in Android SDK Location.
For example: D:\Android - Click OK.
Note: The Android_Home path should not contain any white spaces. - If Java_Home is not already set, create a new variable as JAVA_HOME, type the path to JRE/JDK and then click OK.
- In the System Variables section, select the PATH variable and type , and enter the following paths:
- Type the path to 'Platform-tools' from the Android SDK location (which you added in the step 5 above).
For example: D:\Android\platform-
- tools.
- Type the path to 'tools' from the Android SDK location (which you added in the step 5 above).
For example: D:\Android\tools.
- Type the path to 'Platform-tools' from the Android SDK location (which you added in the step 5 above).
- Click OK.