Mobile App Automation
Setup Appium & Android Studio Windows
Every app needs to be tested if they get updated frequently these use cases should be automated.
In this post we will be covering Appium and Android Studio with Python to automate application testing.
Appium — is an open source test automation framework for use with native, hybrid and mobile apps. It drives IOS, Android, and Windows apps using the Webdriver protocol. It automates any mobile application from any languages like Ruby, Python, Java, JavaScript, PHP, C# and any test framework, with full access to back-end APIs and DBs.
Android Studio — is the official IDE for Google’s Android OS, built on JetBrains’ designed specifically for Android development, it can also be used in performing automation tests.
Prerequisites
- Appium v1.20.2-4
- Java JDK
- Android Studio Dolphin 2021.3.1
- Python 3.8.8
Install Appium Desktop
Appium can be installed by command line or with desktop application.
This post will focus on the desktop application.
Steps to install Appium desktop app:
- Download appium desktop from github page Appium v1.20.2-4
- Click on the required file depending for Windows operating system
- Then double click the .exe and follow all the installation steps
Appium Setup window as displayed below
Once installation is complete, you will see the below Appium Desktop window
Leave the Run Appium checkbox selected and click on Finish button. Appium Desktop Start screen will be displayed
Click on Start Server button. This would start the Appium server and you would see The server is running
message in Appium window
Make sure Java environment is configured. The following post will walk you through these steps:
Summary
The next post will cover Installing Android Studio & Android SDKs along with writing a simple test case. Also view setting JAVA_HOME environment variable on Windows 10 as this will be needed for Installing Android Studio & Android SDKs.
Next in the Series:
Related Posts
2023 Phoenix VMUG UserCon
Introduction: The recent 2023 Phoenix VMUG UserCon brought together some like-minded people in the field, with discussions ranging from VMware technologies to best practices for optimizing existing systems.
Read moreRed Hat User Group Insights, Ansible Automation Platform, and ITSM Integration
Introduction: This blog post aims to summarize the key takeaways from this informative workshop. At the recent Red Hat User Group workshop on Red Hat Insights, Red Hat Ansible Automation Platform, and their integration with management (ITSM) systems, such as ServiceNow, provided valuable insights into how these technologies work together.
Read moreRobocopy Examples
Robocopy Examples Robocopy has many command line options and it can be overwhelming to know which commands to use. In this post, we will take a look at how to ues robocopy to copy, mirror, purge Files and Folders.
Read more