Skip to content

Selenium WebDriver Testing

Zahidul Islam edited this page Mar 17, 2017 · 7 revisions

#Selenium Webdriver

All Webdriver related testing files can be found in src/test/java

Test Plan

Current test implementation uses POM (Page Object Model) design pattern. Uses a utility class to connect to database directly to verify data is being entered into the database correctly in the front-end. Still needs work, but you can still manually check the database.

Currently implemented tests check that recruiters can navigate properly and register candidates.

Running the Tests

Tests can be run individually by

  • Right-clicking package or individual test files
  • Run as
  • JUnit Test

Creating Tests

New Tests can be created by

  • Navigate to src/test/java
  • Right click on test package
  • New -> Other -> type "junit"
  • Select "JUnit Test Case"
  • Click Next
  • Type in Name and click Finish

Clone this wiki locally