Getting Started with Selenium
-
Install Java SE Development Kit 8
- Click here to be taken to oracle.com
-
Install IntelliJ 15
- Click here to be taken to jetbrains.com
-
Launch IntelliJ 15
- Navigate through setting up your java environment (if first opened)
- Make sure to enable TestNG and Maven plugins
- Click Create New Project
- Create a Maven Project and Select Project SDK that was downloaded earlier then click next
- Enter GroupId, ArtifactId, and Version for your new project then click next
- Enter Project Name and Project directory then click finish
- ****Make sure to enable auto import maven projects******
-
Paste the following dependencies tag to your pom.xml to use selenium in your web automation tests and TestNG capabilities. *wait until all processes finish*
org.seleniumhq.selenium selenium-java 2.52.0 org.testng testng 6.8 test - Now you have the basic for creating tests with selenium in IntelliJ using Java language. Make sure to watch my tutorials on how to create Drivers, Controllers, and a TestBase to create your first web automation test.