https://github.com/pr4bh4sh/appiumwithpomandcucumber
https://github.com/pr4bh4sh/appiumwithpomandcucumber
appium-android java mobile-automation
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pr4bh4sh/appiumwithpomandcucumber
- Owner: pr4bh4sh
- Created: 2018-02-10T07:52:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-21T23:01:44.000Z (over 6 years ago)
- Last Synced: 2025-03-22T20:46:01.962Z (over 1 year ago)
- Topics: appium-android, java, mobile-automation
- Language: Java
- Size: 6.75 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
## How to execute/run project
#### With Cucumber
1. Clone project- ```git clone git@github.com:pr4bh4sh/AppiumWithPOM.git```
2. Execute test - ```./gradlew cucumber```
3. Open result - ```open reports/cucumber/cucumber-html-report/index.html```
#### With TestNG
1. Clone project- ```git clone git@github.com:pr4bh4sh/AppiumWithPOM.git```
2. Execute test - ```./gradlew testNG```
3. Open result - ```open reports/extent.html``` or ```open build/reports/tests/testNG/index.html```
##### Find the webdriver events logs @ ```reports/Loginfo.log```
### Note
- For this project Appium server is started from command line manually. Appium server can be stared programmatically from `AppiumDriverLocalService`
- Code is written and test using real/physical device.
- In current implementation ScreenShots are taken only in case of failure.
- Pages does not have all locator, only the required one to complete the scenario are collected.
- HomePage can be broken down into 4 sub-pages.(Browse, Groups, Activity, MyProfile). Similar for other pages
- Step definition are written in single file for this project, they should be written per functionality/screen.
- When executing task testNG, generated report(Extent report) has some configuration issues. Because of this the test suite is marked as pass even when the test has failed. Could not find out where though. (ISSUE)
### Possible Enhancement
- Omniture/Analytic automation
- Nakal image comparision
- Integrate with Flick for
1. Video recording
2. Animated GIF creation