An open API service indexing awesome lists of open source software.

https://github.com/ahmedkhaled14/generalstoremobiletestautomation

General Store Mobile Test Automation Project
https://github.com/ahmedkhaled14/generalstoremobiletestautomation

allure-report appium java mobile test-automation testing testng-framework

Last synced: 2 months ago
JSON representation

General Store Mobile Test Automation Project

Awesome Lists containing this project

README

        



# ✨ *Mobile Automation with Appium: General Store App* ✨
## πŸ“± Appium Demo project using *"General Store APK"* πŸ“±



![2025-02-01 02-01-18 00_00_00-00_00_30](https://github.com/user-attachments/assets/1d2fead9-c8c8-4efb-ba75-a337f12d8bdb)

- ### πŸ”οΈ Covered Test case in this project :
#### βœ…Test Case : End To End Test Case
1. Open the General Store app on an Android device (real or emulator).
2. Select Egypt from the country dropdown.
3. Enter the user's name in the input field.
4. Select the gender from the available options.
5. Click the Let’s Shop button.
6. Add two products to the cart.
7. Navigate to the cart screen.
8. Verify that the products are displayed in the cart.
9. Assert that the total amount equals the sum of the two products' values.


### πŸ“ The main Frameworks included in the project:

* Appium

* TestNG

* Allure Report


### πŸ—οΈ Project Design:

* Page Object Model (POM) design pattern

* Fluent design approach

* Read Data from external JSON file

## πŸ—οΈ Project Structure:

![structure](https://github.com/user-attachments/assets/49adae80-24e2-41ed-95ef-2e64da690c3e)

### πŸ—ƒοΈ Documentation
* **[Appium Docs](http://appium.io/docs/en/2.0/quickstart/)**

### 🚧 Requirements

* Java 8+
* Appium 2.0
* Android Studio
* Appium Server
* Maven
* Eclipse / IntelliJ IDEA (for code development)
* Android Device / Emulator

## πŸš€ Running Tests

1. Start appium server: `appium`
2. start android emulator
### Run All tests open a terminal on the project root path:
3. Run android tests:
` mvn clean test`
4. Generate reports:
`allure:serve`

### πŸ“ Allure Report:

![allureReport](https://github.com/user-attachments/assets/d85f31c9-ab41-41e0-acee-725e264eab16)