The main goal of this experiment is to share with the community how Selenium Webdriver works along with Java as a testing framework and to learn how nowadays test automation projects are set up and worked utilizing the latest design patterns and frameworks, e.g. TestNG. This project has been built using POM / Page Factory, read this article to learn more. The testing subject for this experiment is this website — http://the-internet.herokuapp.com/.
This is a Maven project, create the following under <dependencies> in your pom.xml file if they are not there already.
-
Selenium Webdriver
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>4.1.1</version> </dependency>
-
TestNG Framework
<dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8</version> <scope>test</scope> </dependency>
-
Selenium Webdriver for Google Chrome v 97.0.4692.99. Download from here if needed.
Asim Khan - @asimkhan
Israel Alfaro - @israelalfaro
Pedro Hyvo - @pedrohyvo