mirror of
https://github.com/appium/appium.git
synced 2026-01-14 06:10:01 -06:00
Robot Framework Sample Code
Setup
pip install -r requirements.txt
Run Tests
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/android_*.test.robot
Further Examples on how to prepare environment and run can be found at:
Run Tests in Sauce Labs::
export SAUCE_LABS=True
export SAUCE_USERNAME=<username>
export SAUCE_ACCESS_KEY=<access_key>
robot tests/android_basic_interactions.test.robot
Generated Results
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 sample yourself: