Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anhtester/automation_android_appium2
Setup Test Automation on Android with Appium 2
https://github.com/anhtester/automation_android_appium2
android appium appium-framework appium2 automation-test test-automation
Last synced: 4 days ago
JSON representation
Setup Test Automation on Android with Appium 2
- Host: GitHub
- URL: https://github.com/anhtester/automation_android_appium2
- Owner: anhtester
- License: apache-2.0
- Created: 2023-10-11T18:45:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-02T18:57:27.000Z (6 months ago)
- Last Synced: 2024-06-02T20:47:16.592Z (6 months ago)
- Topics: android, appium, appium-framework, appium2, automation-test, test-automation
- Language: Java
- Homepage:
- Size: 30.4 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# *Mobile Test Automation with Appium 2*
## 📱 End To End Test Order Scenario on Android App called *"Sauce labs"* 📱![img.png](img.png)
### 📝 The main Frameworks included in the project:* Appium 2.x.x
* java-client 9.x.x
* TestNG
* Allure Report* Extent Report
### 🏗️ Project Design:* Page Object Model (POM) design pattern
* Fluent design approach
* Data Driven framework
### 🗃️ Documentation
* **[Appium Docs](http://appium.io/docs/en/2.0/quickstart/)**
### 🚧 Requirements* Java JDK-17
* Appium 2.x.x
* Maven
* Android Studio Emulator### 🚀 Running Tests
1. Start android emulator
2. Start appium server: `appium`
3. Run testng.xml file
4. Generate reports using allure report### 📄 Open Allure Report: `allure serve allure-results`
### Test Scenario: Purchase a Product in Sauce Labs Mobile Application
#### ✅ End To End Test Cases1.User opens the Sauce Labs mobile application.
2.User clicks on the "Menu" button.
3.User clicks on the "Login" option.
4.User logs in using a valid email and password.
5.User chooses a product to purchase.
6.User clicks on the "Counter Plus" button to add the selected product to the cart.
7.User clicks on the "Add to Cart" button to confirm the product addition.
8.User clicks on the "Cart Badge" icon to view the shopping cart.
9.User clicks on the "Proceed to Checkout" button.
10.User fills in the required checkout information.
11.User fills in the payment information.
12.User clicks on the "Place Order" button to complete the purchase.
13.User clicks on the "Continue Shopping" button.
14.Validate that the user returns to the home screen.