This is an automated mobile testing framework for an Android application (General Store) using Appium, Java, TestNG, and Selenium WebDriver.
- Automation Tool: Appium
- Programming Language: Java
- Testing Framework: TestNG
- Build Tool: Maven
- Mobile Automation: Appium Java Client
- WebDriver: Selenium Remote WebDriver
Appium/
│
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ ├── models/
│ │ │ │ └── User.java
│ │ │ └── pages/
│ │ │ ├── HomePage.java
│ │ │ ├── ProductPage.java
│ │ │ └── CartPage.java
│ │ └── resources/
│ │ └── General-Store.apk
│ │
│ └── test/
│ └── java/
│ ├── Base/
│ │ └── BaseTest.java
│ └── AppTest/
│ └── LoginTest.java
│
├── pom.xml
└── README.md
- Page Object Model (POM) design pattern
- Configurable test setup for Android devices
- Appium driver configuration
- TestNG test scenarios
- User model for test data management
- Java JDK 8+
- Maven
- Appium
- Android SDK
- Android Emulator or Physical Device
- Clone the repository
- Install dependencies:
mvn clean install - Ensure Appium is installed globally
- Update device and app paths in
BaseTest.java - Run tests:
mvn test
- User login with country and name selection
- Adding product to cart
- Completing purchase flow
- Device Name: Configured in
BaseTest.java - Appium Server: Runs on
127.0.0.1:4723 - Implicit Wait: 10 seconds
- Appium Java Client 8.5.1
- TestNG 7.8.0
- Selenium WebDriver 4.13.0
- Ensure Appium server is running
- Check device connectivity
- Verify app path and device name
Mohammed Lukmanudin M - GitHub Profile