Showing posts with label cucumber. Show all posts
Showing posts with label cucumber. Show all posts

Wednesday, 2 May 2012

Example - Running selenium2 scripts in cucumber framework

Aim: How to run Selenium 2 scripts in cucumber?

Difficulty Level: High

Tools used:
  • Ant
  • JDK
  • Cucumber API
  • Selenium2 API
Pre-requisites in running the scripts:
  • ant and jdk should be configured
  • Download the project name "Selenium2Cucumber" from the link
Steps:
  • Extract the downloaded project into the C drive
  • Open CMD
  • Go to the project  path using cd.. command
  • Run the command ant runcukes
  • See your script runs into the Firefox browser
Used Commands:
  • cd\
  • cd Selenium2Cucumber
  • ant runcukes
Helpful Video:


Selenium2Cucumber by time2test