Skip to content

QARevealed/javaSelenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

javaSelenium

Default Java Selenium project

Create new java class in tests package which extends BaseTest. (as in ProbnaKlasaTest) BaseTest will start Chrome before each test and close it after. Create JUnit @Test annotation and create a method bellow. You have run test button next to method signature. You can use variable driver (as WebDriver) and wdWait (as WebDriverWait) which are inherited from BaseHelper. Each page/helper class should extends BaseHelper.

Chromedriver (https://chromedriver.chromium.org/downloads) for appropriate version for your chrome should be downloaded and extracted to root (next to pom.xml).