Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.21 KB

File metadata and controls

37 lines (35 loc) · 1.21 KB

Test Automation Framework for Mobile Application Testing

→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.

System Requirements

Windows or Mac
Java
Appium 
Appium desktop
Android studio
node.js
npm

Application under test

Amazon

Libraries used

Selenium
Appium
TestNG
log4j
Extent Reports

Build Management Tool

Maven

How to run the test ?

→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

TEST RESULTS

→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.