Skip to content

Robot Framework Appium - Boilerplate - ATDD - Page Objects - AppiumLibrary

License

Notifications You must be signed in to change notification settings

serhatbolsu/robotframework-appium-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appium Testing Sample with Robot Framework and AppiumLibrary

AppiumLibrary is an appium testing library for Robot Framework. In this sample usage of the library, you can find ios and android test suites that are ready to execute. Also you can find how the reports look like.

To get the demo, you can either download the repository from GitHub or checkout the source code directly.

Reports are available also online in generated results.

In this sample framework, you will find test cases for iOS and Android. Test cases are written for sample applications under demoapp folder.

  • Test suite for iOS and Android Locators
  • Test suite for iOS and Android Mobile Web Testing
  • Test suite for iOS and Android Basic Interactions
  • Test suite for iOS and Android Selectors

After running tests you will get report and log in HTML format. Example files are also visible online in case you are not interested in running the demo yourself:

Running Sample

Install Robot Framework and AppiumLibrary

The simplest way is using pip package manager:

pip install -r requirements.txt

After installing the library, you still need to setup an simulator/emulator or real device to use in tests. iOS and Android have separate paths to follow, and those steps better explained in Appium Driver Setup Guide. Please follow the Driver-Specific Setup according to platform.

Test cases are located in the tests folder. They can be executed using the robot command:

robot  tests/*.test.robot

You can also run an iOS or Android case file/test:

robot tests/android_basic_interactions.test.robot
robot --test "Should find elements by ID" tests

There are much more to improve, here is the list of things to come

  • Circle.ci build pipeline
  • SauceLabs Execution Support
  • More coverage from library methods

Releases

No releases published