Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmedkhaled14/saucelabsapkusingshaft_engine
π² Mobile Test Automation for sauce Labs mobile APK Using SHAFT Engine π²
https://github.com/ahmedkhaled14/saucelabsapkusingshaft_engine
allure-report appium fluentdesign mobile pageobjectmodel shaft-engine testautomation testng
Last synced: 8 days ago
JSON representation
π² Mobile Test Automation for sauce Labs mobile APK Using SHAFT Engine π²
- Host: GitHub
- URL: https://github.com/ahmedkhaled14/saucelabsapkusingshaft_engine
- Owner: ahmedkhaled14
- Created: 2023-08-17T17:39:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-18T08:14:35.000Z (over 1 year ago)
- Last Synced: 2024-12-07T15:08:38.326Z (2 months ago)
- Topics: allure-report, appium, fluentdesign, mobile, pageobjectmodel, shaft-engine, testautomation, testng
- Language: Java
- Homepage:
- Size: 22.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
π² Mobile Test Automation for "Sauce labs" mobile APK π²
![Screenshot 2023-04-27 205939](https://user-images.githubusercontent.com/68038931/234965123-d83a5fa8-bd9f-46ab-9d32-2ecfb7d25387.png)
- ### βοΈ The main Frameworks included in the project:
### ποΈ Project Design:* Page Object Model (POM) design pattern
* Fluent design approach
* Data Driven framework
* Java Docs### π¬ project Structure:
### ποΈ Documentation
* **[Appium Docs](http://appium.io/docs/en/2.0/quickstart/)**
* **[SHAFT Engine Docs](https://shafthq.github.io/docs/Getting_Started/Prerequisites)**
### π§ Requirements & Setup* install Java JDK-17 & `set JAVA_HOME: C:\Users\yourUserName\jdk-17.0.8_windows-x64_bin\jdk-17.0.8 `
* Appium 2.0 `npm install -g appium@next`
* Maven ` 1-install maven 2-open Environment variables 3-open path and add C:\Users\yourUserName\apache-maven-3.9.4-bin\apache-maven-3.9.4\bin `
* Android Emulator `you can use Android Studio`
* set new Environment variable: `ANDROID_HOME: C:\android-studio\data\sdk`
* Add 3 variables to the path in user variables:
`%ANDROID_HOME%\bin`
`%ANDROID_HOME%\tools`
`%ANDROID_HOME%\platform-tools`
### π Running Tests* Start appium server: `appium`
* start android emulator `use Android Studio AVD Manager `
### πΈ Run tests open a terminal on the project root path:
* to run a specific testclass: `mvn test -Dtest="PackageName.TestClassName"`
* to run all the test classes in the package: `mvn test -Dtest="PackageName**"`
* to run a specific test case: ` mvn test -Dtest="PackageName.TestClassName#TestMethodName"`* π Generate reports:
Summary Report & Allure Report will open automatically after Execution.
π Allure Report π
π Summary Report π
Test Cases Details
Status
β PASSED
β FAILED
π§ SKIPPED
Id
Suite
Name
Error
Status
Has issue
1sauceLabsTests.LoginFeatureTestTC1: login Using Valid Email And Passwordβ PASSEDNo2sauceLabsTests.LoginFeatureTestTC2: login Using Invalid Email or Password/td>β PASSEDNo3sauceLabsTests.CartFeatureTestTC3: Add Item To The Cart And Validate Title And Price Of The Itemβ PASSEDNo4sauceLabsTests.CartFeatureTestTC4: Removing Items From The Cart And Validate That The Cart Is Emptyβ PASSEDNo5sauceLabsTests.CartFeatureTestTC5: Online Ordering E2E Scenarioβ PASSEDNo