Selenium-Cucumber : A Funny Situation

Advertisements
Posted in Uncategorized | Leave a comment

selenium-cucumber Ruby – How it works?

SC how it works

 

  • “.feature” file contain different testing scenarios and steps written in simple English language (Gherkin language).
  • You can write “Predefined Steps” and “Custom Steps” in “.feature” file.
  • Code for Predefined Steps already written in “selenium-cucumber lib” so you do not have to write separate code for it.
  • You can write code for Custom Steps in “custom_steps.rb” file or your own “.rb” file under step_definitions directory.
  • While adding separate “.rb” file for writing code for custom steps add                    “selenium-cucumber” library into your “.rb” file.
Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

Selenium-Cucumber Using JAVA

Coming Soon…

Posted in Uncategorized | 3 Comments