Basic Questions:
Ø What is BDD (Behaviour Driven Development)?Ø Explain the concept of Cucumber.
Ø What is the purpose of using Cucumber in automation testing?
Ø What is a feature file in Cucumber?
Ø Explain the structure of a Cucumber feature file.
Ø What is a scenario in Cucumber?
Ø How do you write scenarios in a feature file?
Ø What is a step definition in Cucumber?
Ø How are step definitions written in Cucumber?
Ø Explain the purpose of regular expressions in step definitions.
Ø What is Gherkin syntax?
Ø What are the different types of hooks in Cucumber?
Intermediate Questions:
Ø How do you handle data-driven testing in Cucumber?
Ø Explain the role of tags in Cucumber feature files.
Ø How do you parameterize scenarios in Cucumber?
Ø Explain the difference between Scenario Outline and Scenario in Cucumber.
Ø What is the purpose of background in Cucumber?
Ø How do you handle multiple scenarios in Cucumber?
Ø What is the use of a Cucumber Options annotation?
Ø Explain how to integrate Cucumber with Selenium.
Ø What are the advantages of using Page Object Model (POM) with Cucumber?
Ø How do you manage dependencies in a Cucumber project?