Sunday, December 18, 2011

Jbehave web and web drive

Objective

The purpose of this startup project is to get you going with jbehave web(3.4.3) and WebDrive. In this example we do a simple and basic task.
  • Load a website
  • Click on a link
  • And test if the redirected page is where we want to be

Required libraries

  • JBehaveWeb - Add all the jars from lib folder
  • Selenium - Add all the jar from lib folder and selenium-java-2.15.0.jar
  • JUnit 
A sample project is uploaded in github. It is simple enough to use as a startup project.
The implementation was done following this article.

No comments: