Skip to content

πŸ“² Mobile Test Automation for sauce Labs mobile APK Using SHAFT Engine πŸ“²

Notifications You must be signed in to change notification settings

ahmedkhaled14/SauceLabsAPKUsingSHAFT_Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

test-light

πŸ“² Mobile Test Automation for "Sauce labs" mobile APK πŸ“²

Screenshot 2023-04-27 205939


  • βš™οΈ 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:

Screenshot 2023-08-18 011751

πŸ—ƒοΈ Documentation

🚧 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 πŸ“Š

allure allure2

πŸ“Š Summary Report πŸ“Š

summary1 summary2


Test Cases Details

Status βœ… PASSED ❌ FAILED 🚧 SKIPPED
Id Suite Name Error Status Has issue
1sauceLabsTests.LoginFeatureTestTC1: login Using Valid Email And Passwordβœ… PASSEDNo
2sauceLabsTests.LoginFeatureTestTC2: login Using Invalid Email or Password/td>βœ… PASSEDNo
3sauceLabsTests.CartFeatureTestTC3: Add Item To The Cart And Validate Title And Price Of The Itemβœ… PASSEDNo
4sauceLabsTests.CartFeatureTestTC4: Removing Items From The Cart And Validate That The Cart Is Emptyβœ… PASSEDNo
5sauceLabsTests.CartFeatureTestTC5: Online Ordering E2E Scenarioβœ… PASSEDNo



About

πŸ“² Mobile Test Automation for sauce Labs mobile APK Using SHAFT Engine πŸ“²

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages