Mobile App Automation

  • vnull
  • Pub Jan 13, 2023
  • Edited Jan 14, 2023
  • 2 minutes read

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

Note
❗❗ v1.20.2-4 is no longer maintained since it is not compatible with Appium 2.0+. Appium Inspector and Appium to inspect elements for Appium 2.0. Node & NPM (Optional) included with Appium Desktop

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:

Set JAVA_HOME environment variable on Windows 10

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:

Do you have an idea or suggestion for a blog post? Submit it here!

Related Posts

2023 Phoenix VMUG UserCon

  • vnull
  • Sep 8, 2023
  • 4 minutes read

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 more

Red Hat User Group Insights, Ansible Automation Platform, and ITSM Integration

  • vnull
  • Jun 1, 2023
  • 3 minutes read

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 more

Robocopy Examples

  • vnull
  • Feb 10, 2023
  • 5 minutes read

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