- JDK 17.0.1+
- Maven
- Node.js
- Appium
- Appium Server
- IntelliJ IDE
- Android Emulator (Android version 9 preferred)
- cucumber-java 7.8.1
- cucumber-testng 7.8.1
- cucumber-junit 7.8.1
- selenium-java 4.5.0
- appium java-client 8.2.0
- cucumber-compiler-plugin 3.10.1
- maven-surefire-plugin 3.0.0.M6
- Set JDK bin path to the environment variables
- Set Maven bin path to the environment variables
- Set node.js path to the environment variables
- Open project in IntelliJ IDE.
- Open the terminal (from IntelliJ IDE) and execute the command
mvn clean install
- Open Android Emulator
- Open Appium Server GUI and click on start server
- For running single Scenario-
- open a Feature file from directory: src>test>java>features
- then right click and select run scenario
- For suite-run:
- open TestNG.xml file from project root directory
- then right click and select run
- For running from terminal:
- execute command
mvn test
- execute command
Full execution video link: https://drive.google.com/file/d/1XzbUDInX7gjnRn6lm1uVtKTZ66QXYT5T/view