Automation Testing for Login and Register Page in Android Sequis Apps using Robot Framework, Python and Appium Library. Works on Emulator Android Devices
Prepared by: Tito Valiant Muhammad - Tester Engineer Candidate
1). Built-in Frameworks
Appium
2). Customized/User defined frameworks
Robot Framework
In order to utilise this project you need to have the following installed locally:
-
Python
-
Chrome and Chromedriver *Rrobotframework-Appiumlibrary
On Terminal use this command (inside the Sequis folder):
$ pip install robotframework-appiumlibrary
Reports, Logs for each module are written into their respective /Output
directories after a successful run
with HTML Reports format and Data Log Test Result.
The project is broken into separate Folder.
Before Run the TestCase you should run the appium server first. Open Command Prompt on your computer, then write this code and ENTER:
$ appium --allow-cors
To run the all modules test case, navigate to /Test
directory and run:
$ robot -d Output/AllTestCase Tests
NOTE: They will also generate a HTML report and data Log in Output/AllTestCase
To run this test case, navigate to /Test
directory and run:
$ robot -d Output/Register Tests/RegisterEmail.robot
NOTE: They will also generate a HTML report and data Log in Output\Register
To run this test case, navigate to /Test
directory and run:
$ robot -d Output/Login Tests/LoginGmailButton.robot
NOTE: They will also generate a HTML report and data Log in Output\Login
To run this test case, navigate to /Test
directory and run:
$ robot -d Output/Register Tests/RegisterPhone.robot
NOTE: They will also generate a HTML report and data Log in Output\Register