https://github.com/hungdao-testing/java-appium-mobilecli
Appium automation for mobile application
https://github.com/hungdao-testing/java-appium-mobilecli
appium-tests automation java-automation-testing qa-automation
Last synced: 4 months ago
JSON representation
Appium automation for mobile application
- Host: GitHub
- URL: https://github.com/hungdao-testing/java-appium-mobilecli
- Owner: hungdao-testing
- Created: 2025-05-04T07:26:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T00:59:20.000Z (about 1 year ago)
- Last Synced: 2025-08-04T17:16:08.712Z (11 months ago)
- Topics: appium-tests, automation, java-automation-testing, qa-automation
- Language: Java
- Homepage:
- Size: 30 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Mobile Automation #
## 1. Business Requirement
The mobile application is developed by React-native framework (v.7), simulating a few small businesses:
### Phase 1: Checkout business
The Check-out process has 3 serial steps
- Personal information
- Payment information
- Summary information
Noting that the `date-of-birth` field has different format in Android and iOS.
### Phase 2: Notification (TBD)
## 2. Setup
The automation framework is using:
- Maven lib: builder tool
- TestNg: test unit framework
- Appium: Mobile UI (`XCUITest and UiAutomator2` drivers) attaching `wait-for` add-on.
- Allure: Reporter (have to install Allure CLI to generate report)
The test script is following `Page-Object-Model`
The list of test cases are placed in `xml` file under `test/source/*.xml`.
## 3. Execution
### Phase 1: Run test-suite connecting to local-appium server
#### Phase 1.1: Programmatically start appium server through `MobileBaseTest`
The script is run for `android` and `ios` platforms (2 simulator/emulator at the same time).
At root folder, running command: `mvn clean test -Dsuite="mobile-testng"`
#### Phase 1.2: Run test-suite with `appium-device-farm` => all test execution live-streaming to device-farm dashboard
- Please switch to branch `config/appium_config_file`
### Phase 2: Run test-suite connecting to remote-appium server
- Please switch to branch `config/remote_driver`
### Phase 3: Test distribution (TBD)
- Please switch to branch `test_distribution`
So far implement (basically) for iOS simulators. Related to Android emulators, I am facing issues at https://github.com/AppiumTestDistribution/AppiumTestDistribution/issues/1222