Join Shashi Shekhar for an in-depth discussion in this video Data table: Read list of strings, part of Cucumber Essential Training.
- [Instructor] So for the last two methods … I'm just going to remove the exception error … and not implement anything here. … But for the first method, as you can see, … there is a data table called data table available to us. … Let's go ahead and parse information from this data table. … I'll just remove all the existing code here and type. … I have a list of string which I am going to call BillData … and that is going to read from dataTable, … and it's going to read that dataTable as list, … and as you can see this is a list of strings. … In here, I'm just going to supply string.class, … and my data is available as a list of strings, … and I'm going to import the list that comes form java.util … and let's output the data from this list. … So, I'm going to type here define a variable called BillItem. … This is going to look through elements in BillData … and output it's value and this will be my BillItem … which will be printed as a string. … Let me go ahead and do one other thing before I run 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.