Category: TestNG

Executing Selenium tests using TestNG 0

Executing Selenium tests using TestNG

To write Selenium tests, we will need to add below dependencies in TestNG project. <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.9.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>2.53.0</version> <scope>test</scope> </dependency> Then we can create a Base Test class...