This code is written as part of mobile automation code challenge for Seera.
https://github.com/tajawal/code-challenge/blob/master/QA_NativeApps.md
Pre-requisites:
- Maven should be readily installed.
- Android SDK tools and configurations should be set.
- Appium Desktop/Server should be installed and running.
- Real device or simulator should be attached and running.
Framework uses:
- appium
- testng
- log4j
- extent report
Ways to run tests
You can run the test cases in two ways.
- Command Line
- IDE (Intellij IDEA)
Command Line:
Run the command mvn clean test -DsuiteXmlFile=book_flight_testng.xml
Intellij IDEA:
- Open the project as maven project in Intellij idea
- Right click on "book_flight_testng.xml" file and click run/debug. Please see following screenshot.
Report:
Demo