Demo for Automated app testing using Robot Framework & Appium
-
Appiuminstalled in machine -
Python&Pipinstalled in machine | Note : because of the compatibility issue, consider using python 2.7 -
Install
robotframework -
Install
robotframework-appiumlibrary--> lib to access app layer -
Android SDKfor Android testing installed in machine -
adbaccessible from everywhere -
Make sure App that will be tested already in device/emulator
-
Connected device WARNING If using emulator make sure architecture emulator is arm.
-
Put .apk in folder
apk_res
- Go to root project
- Run this command from cli
robot folder_nameex :robot login_test
- Go to root project
- Run this command from cli
robot folder_name/file_name.robot
- Go to root project
- Run this command from cli
robot -t test_case_name folder_name/file_name.robotNote : Test case name with whitespace should be considered to be appended