Setup Selenium Project from scratch with WebDriver and TestNG in Eclipse | RV

Опубликовано: 13 Январь 2019
на канале: Learn with RV
770
26

In this video you will learn how to create a Selenium Java Project from scratch using WebDriver, TestNG and Eclipse.


===== Video Summary - Requirements =====

1. Install java JDK
Download: https://www.oracle.com/technetwork/ja...
Verify that you have installed : Open a Terminal and type 'java -version'

2. Download WebDriver
CHROMEDRIVER (it uses the Chrome browser): http://chromedriver.chromium.org/down...

!!! WINDOWS OS: Set the webdriver folder path to System Environment Variables
!!! Linux /OSX: Move the webdriver file to the "/usr/bin" or "/usr/local/bin" folder
otherwise you have to write the following line of code in your script: System.setProperty ("webdriver.chrome.driver", "pathToItem");

3. Download and install Eclipse IDE
Download URL: https://www.eclipse.org/downloads/

4. Download the Selenium .jar files
JAVA CLIENT: https://mvnrepository.com/artifact/io...
SELENIUM JAVA: https://www.seleniumhq.org/download/
TestNG: https://mvnrepository.com/artifact/or...

5. Create a new project and import the jar files