- JDK-18
- Selenium as a web automation framework
- Maven as a build tool.
- TestNG as a unit test framework.
- Simply you can right-click on desired Test case under test/java/testCases
- Click on Run
or
- Select the desired Test case
- Then From keyboard, press
- "Ctrl + Shift + F10"
To import reports and screenshot for failed test cases, don't rush and execute, unless you configure the following:
- Edit TestNG configuration
- Add MyListener as listeners