Join Shashi Shekhar for an in-depth discussion in this video Data table: Adding a data table, part of Cucumber Essential Training.
- Cucumber Data Tables. … When you supply tabular data to a scenario step, … Cucumber generates a special data type, called Data Table. … You need to write data parsing logic to parse data … in these data tables. … There are many ways to parse data from this data table, … which makes the process somewhat confusing. … In this lesson, we will take a look … at a few data parsing techniques and understand … which approaches may be more applicable, … depending on how data is supplied. … So, let's go ahead and add a new feature file … I'm going to call this datatable.feature, … or datatables.feature, … and I'm just going to remove all the default text … that comes here. … It's going to be very useful in a real-life project. … We don't need to use these right now. … Let's add feature name, called Data Tables, … and, within that feature, let's define a scenario, … and I'm going to call this scenario Bill Amount Generation. … I'll go ahead and use an existing scenario. … So, this is the scenario I'm going to copy …
- 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.