Join Shashi Shekhar for an in-depth discussion in this video Scenario outline: Adding examples table, part of Cucumber Essential Training.
- [Instructor] So, I'll go ahead … and change this variable name … to call it initial bill amount. … This qualifies it a little bit further. … And under examples, let's go ahead and supply our data. … So, I'm going to start with a pipe, … and initial bill amount, … tax rate, … and calculated bill amount, … and we need to end this line with a pipe. … Let's define our different scenarios here. … So, for $100 bill, … if my tax rate is 10%, … then my tax amount will be 10 and total will be $110. … Let's define another one here. … If we have a $200 bill and my tax rate is 8%, … my tax amount will be $16, so my total should be $216. … And I need to make sure I end each of these lines … with a pipe. … The third thing I need to do is, … this time, I'm going to introduce fractional numbers. … So if my initial bill amount is $100 … and my tax rate is 1.55%, … then the total should be $101.55, … and I'm going to end it with a pipe. … I will go ahead and format this table. … The next step is to generate steps for this. …
- How Cucumber can be used for BDD, TDD, and ATDD
- Installing and configuring Cucumber
- Mapping user stories to features
- Adding hooks
- Generating reports
- Adding a data table
- Adding Selenium dependencies
- Applying techniques to make BDD maintainable
Skill Level Intermediate
Robot Framework Test Automation: Level 1 (Selenium)with Bryan Lamb6h 23m Intermediate
1. Behavior-Driven Development
2. Cucumber Workflow
3. Regular Expressions Match
4. Additional Cucumber Concepts
5. Data Table and Scenario Outline
6. Cucumber Advance Features
Next steps1m 7s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.