Skip to content

New Step Definition File Wizard

Girija Prasad Panda edited this page Mar 27, 2016 · 2 revisions

New Step-Definition File Wizard :

  • User can create a new Step definition(java) file from Eclipse 'File' Menu :
  • File > New > Other > Cucumber > Step-Definition class > Next > :
  • Specify: Source Folder: [browse your project directory] Package Name:[browse package name] Class Name:[Step-Def(java) file name]
  • Select any/all : Cucumber Annotations : Given/When/Then/And/But
  • Result : A sample Step definition(java) file is created for selected Annotations

Snapshots :

Select Step-Definition File Wizard

New Step-Definition File Wizard