Skip to content

Mobile Automation Testing using Robot Framework with Appium Library & Python

Notifications You must be signed in to change notification settings

Fatimazza/RobotAppiumTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot Appium Test


✨ Mobile Automation Testing using Robot Framework with Appium Library & Python ✨

Preparation

What will be used on this project

Item Source
Editor VS Code (https://code.visualstudio.com/download)
Package Manager PIP (https://pip.pypa.io/en/stable/getting-started/)
UI Test Tools Appium (http://appium.io/docs/en/2.0/quickstart/install)
Robot Framework with Python (https://robotframework.org/#getting-started)
Appium Library (https://github.com/serhatbolsu/robotframework-appiumlibrary)
PyYaml (https://pypi.org/project/PyYAML/)
Design Pattern POM or Page Object Model
Test Reporter Robot Framework with Python (https://robotframework.org/#getting-started)
Device Android 5 and above

Pre-Requisite Installation

Install VS Code Editor, Python, and PIP

To check whether you already installed Python & PIP

python --version
python -m pip --version 

Testing Tools Installation

Install Appium v 2.0

npm i -g appium@next

Install Robot Framework

python -m pip install robotframework

Install Appium Library

python3 -m pip install --upgrade robotframework-appiumlibrary

Install PyYAML

python -m pip install pyyaml

Setting up Project

Clone

👉 Clone this Repository through Terminal or Command Prompt

Open the Project on Editor

Open this Automation Project using VS Code Editor

Run Application

Run the "My Cafe App" APK on Android Emulator or Real device connected with Debugging mode

The APK file available on RobotAppiumTest/apk/MyCafeApp.apk

“MyCafeApp”

Run the Automation Project

Run Appium on Terminal or Command Prompt

appium --base-path /wd/hub

On Another Terminal or Command Prompt

Change to Project directory

cd RobotAppiumTest

Run Specific Test Execution on Terminal

robot --outputdir output/ step/test_home.robot

Run All Test Execution on Terminal

robot --outputdir output/ .

Note: Please wait until all test execution finished

Test Execution HTML Report

✅ Report available on RobotAppiumTest/output/report.html

About

Mobile Automation Testing using Robot Framework with Appium Library & Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published