Skip to content

andimryn/robot-framework-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot Framework Mobile Automation

This project serves as a boilerplate for automating both Android and iOS mobile applications using a single codebase with Robot Framework and the Appium library.

Installation

  1. Download and Install Android Studio

  2. Download and Install Python

  3. Check Python installation

    python3 -V

  4. Install pip

    pip3 -V

  5. Install Appium 2.0 npm i -g appium@next

  6. Install Robot Framework

    pip3 install robotframework

  7. Install Appium Library

    pip3 install robotframework-appiumlibrary

  8. Download and install VSCode VSCode

  9. Install Robot Code extension from VSCode's Marketplace

  10. Install Appium Drivers

    appium driver install uiautomator2

    appium driver install xcuitest

Usage

The basic usage is giving a path to a test (or task) file or directory as an argument with possible command line options before the path

robot -v PLATFORM_NAME:android -i Smoke -d results tests/*.robot

"-v" refers to the variables. To replace a declared value within the code, you can specify a variable name and value.

"-i" refers to the tags. To run only a selected group of tests, you may specify a tag name.

"-d" refers to the test results. The location to save the test results can be specified here.

License

MIT License MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published