This is a sample POM framework to automate Amazon Android app.
Can be run from IntelliJ the way tests normally are run
- TestNG (test runner)
- Appium (mobile testing)
- Selenium (web app testing) [Used as a wrapper for appium]
- Allure (reporting)
- Java (Programming Language)
- Maven (Dependency Manager)
- Page Object Model
- Appium configuration should be up and running (Can use appium-doctor -h to see the configuration)
- Android Device Simulator (The test was running on real Samsung galaxy A 50 device)
Appium Set up - Before running the project you need to download and install Appium. Once this this done, do the android SDK set up as mentioned below.
Android SDK Set up - Download Android SDK, set up the path appropriately. Create virtual devices. Once the virtual devices are created, launch Appium and start the emulator accordingly.
Clone this repository
Open the solution
Rebuild
Run the test
Currently all the elements found have been kept on two pages AmazonHomePageAndroid , LandingPageAndroid and same goes for test cases.