Cucumber 2nd
Cucumber 2nd
A client DigiBank has reached out to Accenture to implement the banking digital creator which can
be provided to the customers. Currently, DigiBank has only provided services to the customer
through the branches located across different regions New requirement in order to expand the
banking horizons, the client wanted to implement multiple digital solutions like ATM, Digital wallets,
Mobile App, etc.
DigiBank client reached out to Accenture to implement the user stories. The client has decided to
use the Agile methodology and BDD approach to drive the SDLC. To get started they have identified
multiple user stories.
To implement the user story, the client has planned to follow three BDD practices.
- Discovery
- Formulation
- Automation
Business rules:
QUESTIONS:
1. ………. They are planning to perform the ……..color cards for different information to be
……in three amigos meeting?
Ans: option A (Yellow cards for user story, blue card for acceptance criteria, green………. And red card
for questions)
2. The QA team wanted to perform test execution only for smoke and sanity scenarios for the
below feature file.
Select all the options with correct tag expressions to perform the appropriate test execution?
Ans: option A (@smoke and @sanity and not @regression) & D (@smoke and @sanity)
4. for the below scenario, select all the options with correct cucumber expressions, data table,
and data table conversion? Table-------------------- | name | ted | tia |
Identify the correct runner class with correct @RunWith and @cucumberOptions with the below
conditions? ………… readable format
Ans: @RunWith(Cucumber.class)
@CucumberOptions(Plugin = {“json:target/cucumber.json”
“html:target/cucumber-html/index.html”}
Tags=”@sanity”
Features=”src/test/resources/cucumber”
Glue=”cucumber”
dryRun=true
monotrue=true)
6. The QA team has …… to be automation framework. They have …… page object classes inside
the package .
For the login web page, the team has written the LogicPageObject cases as shown below:
Ans: option C
7. For the given scenario, choose the option with correct cucumber expressions?
Scenario : the one where the customer choose different digital solutions
Given Ted hold 2 accounts in digiBank
And Tia hold 1 account in DigiBank
When ted choose “ATM” for transaction
And tia choose “mobile app” for transaction
And ted withdraw $100
And tia transfer $20
Then the transaction are successful.
Ans: option A
8. Customer ted holds the premium account in digibank, and customer tia holds the normal
account in digibank. Considering the business rule, all account holders can access the digital
banking privileges and the premium account customers can only get the home loan offer.
Select all the correct scenarios meeting the business requirement for this example?
9. For the below scenario, what would be the correct step definitions generated by cucumber?
Ans: option C