Wednesday, 17 December 2014

Skelton of Cucumber framework


 Cucumber framework skelton


features        
|        
|__step_definitions        
|        |_custom_steps.java      
|__support        
|         |_env.java        
|         |_hooks.java        
|__expected_images        
|__actual_images        
|__image_difference        
|__screenshots        
|__my_first.feature


  • In ".feature" file you can write scenarios expressed in the Gherkin language.
  • You can make use of predefined steps to write your automation script speedily and easily .
  • Under step-definition contains ruby files in which you can write code for your custom steps.
  • You can use selenium-cucumber API's to write custom steps easily.
 

No comments:

Post a Comment