/appium-automated-test-demo

A sample app that showcase how to automate mobile app tests with appium

Primary LanguagePython

Automation Testing with Appium

This is an example that showcase how to use Appium for Mobile app automation testing.

IBM has a (free) Mobile Analyzer app that we will use for this demo.

DISCLAIMER: I DON'T KNOW IF THE APP CONTAINS VIRUSES, SO USE AT YOUR OWN RISK:speak_no_evil:

Usage

Download the Appium server, I am using version 1.13.0 for this demo. The client script is written in Python, so make sure you have Python installed.

What you should have: Appium Server & Android Emulator ☝️ Android Emulator is running..

Install required package:

(recommended): setup pipenv, virtualenv or virtualenvwrapper

$> cd {APP_DIRECTORY} && pip install -r requirements.txt

Before anything, set the below on the Appium server:

JAVA_HOME
ANDROID_HOME
  • Configure server Configure Appium Server
  • Start your server Start Server

Run test(s):

$> py.test
What we intend to do or automate:

We will access the app, navigate through the profile, and access the login page, that's all:smile:, it's that simple:yum:

Main screen Navigate to profile Show login screen

Some cool articles