- Page Object Model (POM) design pattern
- Fluent design approach
- Data Driven framework
- Java Docs
- 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
- Start appium server:
appium
- start android emulator
use Android Studio AVD Manager
-
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.
Id | Suite | Name | Error | Status | Has issue |
---|---|---|---|---|---|
1 | sauceLabsTests.LoginFeatureTest | TC1: login Using Valid Email And Password | ✅ PASSED | No | |
2 | sauceLabsTests.LoginFeatureTest | TC2: login Using Invalid Email or Password/td> | ✅ PASSED | No | |
3 | sauceLabsTests.CartFeatureTest | TC3: Add Item To The Cart And Validate Title And Price Of The Item | ✅ PASSED | No | |
4 | sauceLabsTests.CartFeatureTest | TC4: Removing Items From The Cart And Validate That The Cart Is Empty | ✅ PASSED | No | |
5 | sauceLabsTests.CartFeatureTest | TC5: Online Ordering E2E Scenario | ✅ PASSED | No |