→This is a sample project to demonstrate what is Page Object Model framework and how it can used with appium to automate any mobile application.
→TestNG is used as test framework.
Windows or Mac
Java
Appium
Appium desktop
Android studio
node.js
npm
Amazon
Selenium
Appium
TestNG
log4j
Extent Reports
Maven
→Clone the project from https://github.com/MohammedKamle/AmazonDemoProject
→Give the device name and device udid in global.properties file.
→You can either run your test on real device or on an emulator but make sure in emulator name there should be "emulator" string present.
→Give your emulator path in startEmulator.bat file in \src\main\java\com\resources.
→Go to the project directory on command propmt or termmianl.
→Type mvn test
→ExtentReports is used to obatin the test results which is stored under the "Reports" folder at project level.
→The logs of the test is stored under the "logs" folder which is obtained using log4j library.