Skip to content
Robot Framework mobile setup
Branch: master
Clone or download
Latest commit f5f4f72 Jan 16, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
settings init project Jan 5, 2020
testsuites Update Jan 16, 2020
settings.robot init project Jan 5, 2020

Robot Framework - Mobile set up

Set up for Robot Framework to start automated testing for mobile. Support for both iOS and Android.

Explanation about Appium and Robot Framework can be found in my blogpost "Automate regression testing for iOS and Android using Appium and Robot".

Run test cases

Run the test scripts:

robot --variable DEVICE:iPhoneXr --outputdir logs testsuites

Folder structure

The folder structure consists of multiple different folders and files. I describe them from the root.


The folder logs contains the output of the testscript. The log is a HTML file.


The setup.robot file is used to import some files that are always needed for a good working flow. Those files are:

settings.robot - Contains all settings of the project general_keywords.robot - Contains all keywords that all flows need ${TESTSUITE}_keywords.robot - Contains all keywords for the testsuite. ${TESTSUITE}_elements.robot - Contains all identifiers for UI elements.


The settings.robot file contains the settings of the project. Some libraries are imported and also the devices which are used to run the tests are defined.


In this folder the testcases are written, sorted by flow. Each flow (testsuite) has it's own robot file.


In this file the keywords are specified. Each flow has it's own keywords file.


In this file the idenfiers are specified for both iOS and Android. Each flow has it's own elements file.

You can’t perform that action at this time.