Question - 1
Cucumber Software is written in the form of
Answer- A
Question - 2
How many files required to execute a Cucumber test scenario?
Answer- B
Question - 3
What is feature file in Cucumber?
- Feature
- Scenario
- Scenario Outline
- All of the above
Solutions
Answer- D
Question - 4
A _____________ is the actual code implementation of the feature mentioned in the feature file
- scenario outline
- given definition
- step definition
- None of the above
Solutions
Answer- C
Question - 5
- Regression Testing
- Unit Testing
- Smoke Testing
- Monkey testing
Solutions
Answer- B
Question - 6
RSpec is a unit test framework for the_____ language
- Ruby programming
- Java programming
- PHP programming
- Dot NET programming
Solutions
Answer- A
Question - 7
Which keyword is used to combine two or more same type of action?
Answer- C
Question - 8
What software is needed to run a Cucumber Web Test?
- Ruby and its Development Kit
- Cucumber
- IDE like ActiveState
- All the above
Solutions
Answer- D
Question - 9
Which file extension do all Gherkin files have?
Answer- B
Question - 10
What are the advanced framework design that can be used with Cucumber?
- Page Object Model
- Log4j
- Extent Reporting
- All of the above
Solutions
Answer- D
Question - 11
Cucumber Tags used for ___?
- filter the scenarios
- setup cucumber related support
- easier reuse of code in the tests
- None of the above
Solutions
Answer- A
Question - 12
Cucumber Execution Starts From Where ?
- support
- index
- helper
- None
Solutions
Answer- A
Question - 13
Which following command to execute a cucumber profile?
- cucumber profile -p
- cucumber features -p
- cucumber support -p
- None of the above
Solutions
Answer- B
Question - 14
Check if all the steps have the step definition before execute
- MonoChrome
- Strict
- DryRun
- Format
Solutions
Answer- C
Question - 15
Select Hooks available in Cucumber
- Before
- AfterSuite
- BeforeTest
- AfterTest
Solutions
Answer- A
Question - 16
- Test Drive Development
- Test Driven Development
- Table Driven Development
- None of the above
Solutions
Answer- B
Question - 17
What are the not benefits of Cucumber?
- It is helpful to involve business stakeholders who can’t easily read code
- Style of writing tests allow for easier reuse of code in the tests
- Cucumber focuses on end-user experience
- None of the above
Solutions
Answer- D
Question - 18
What is the difference between Given, When, Then steps in feature file?
- Given, defines the context of the scenario
- When, defines the actions of the scenario.
- Then, defines the outcome of the scenario
- All the above are correct
Solutions
Answer- D
Question - 19
which is not BDD testing tools?
- Specflow
- JBehave
- Cucumber
- Selenium
Solutions
Answer- D
Question - 20
_____________is the actual code implementation of the feature mentioned in feature file.
- Feature File
- Step definition
- Test Runner
- None of the above
Solutions
Answer- B
Practice more set questions