This framework can be used by QA Engineers for testing Native Mobile apps with a help of Cucumber and Rake execution.
- appium-capybara (https://github.com/appium/appium_capybara)
- Page Object model (using Site Prism)
- Shared classes between Android and iOS
- Cucumber HTML report with screenshots
-
Clone the project
-
Do
bundle install
-
In Support/caps/PlatformName.txt change the app path to your path (apps are attached to the root of this project)
-
For iOS is you run on real device please add the following to caps:
- udid = udid of your device (can be found in iTunes when you connect the phone)
- xcodeSigningId = "iPhone Developer" - or any other name you use
- xcodeOrgId = Can be found in developer.apple.com - Membershit - Team ID
-
For running tests you can use rake tasks - as example
rake run_tests[android]
for Android platformrake run_tests[ios]
for iOS platform
-
to view HTML report copy Path from reports/mobile_report.html and paste it to any browser