Olete.in
Articles
Mock Tests
🧪 Cucumber MCQ Quiz Hub
Cucumber Mcq Question Set 1
Choose a topic to test your knowledge and improve your Cucumber skills
1. What are the files required to execute a Cucumber test scenario?
Features
Step Definition
Both A and B
none of the mentioned
2. Cucumber Software is written in the form of
C
C++
Java
Ruby
3. What is feature file in Cucumber?
Feature
Scenario
Scenario Outline
All of the above
4. What software is needed to run a Cucumber Web Test?
Ruby and its Development Kit
Cucumber
IDE like ActiveState
All of the above
5. What are the advantages of Cucumber?
Cucumber acceptance tests are written from user's perspective
Team Collaboration (Product owners, business analysts, developers, testers are all involved in writing scenarios)
Tests are written in plain-text English so people with less technical skills can also write scenarios
All of these
6. What are the advanced framework design that can be used with Cucumber?
Page Object Model
Log4j
Extent Reporting
All of the above mentioned
7. What are the benefits of Cucumber?
It is helpful to involve business stakeholders who can't easily read code
Cucumber focuses on end-user experience
Style of writing tests allow for easier reuse of code in the tests
All of the above
8. Who are the developers for the Cucumber Software?
Aslak Hellesoy
Joseph Wilk
Matt Wynne
All of the above
9. Cucumber is released in the year of
2015
2013
2014
2008
10. Which file extension do all Gherkin files have?
closure
feature
doc
com
11. Which of the following are Advantages of Cucumber?
You can involve business stakeholders who cannot code
End-user experience is a priority
High code reuse
All of the above
12. How many files required to execute a Cucumber test scenario?
1
2
3
4
13. A _____ is the actual code implementation of the feature mentioned in the feature file.
scenario outline
given definition
step definition
none of the above
14. Cucumber is Ruby-based?
TRUE
FALSE
Can be true or false
Can not say
15. Rspec is used for?
Regression Testing
Unit Testing
Alpha Testing
System Testing
16. Which keyword is used to combine two or more same type of action?
But
Or
And
Not
17. In Cucumber, Comments will be denoted with?
!
@
$
#
18. _____ are the sticky notes you’ve put on pages you want to be able to find easily.
Object
Attribute
Tags
None of the above
19. You can generate the output/report of the cucumber using different cucumber commands.
TRUE
FALSE
Can be true or false
Can not say
20. When Cucumber finds a matching Step Definition it will execute it. If the block in the step definition doesn not raise an Exception, the step is marked as ?
undefined step
successful step
pending step
skipped step
Submit