- [Instructor] Okay, so the first thing…we're going to look at is the easiest way to do this,…and that's using the built-in method…provided by Robot Framework.…And here are the key steps.…First, we're going to create a keyword…that holds the common steps…that existed in each of our separate test cases.…And we can create this keyword either in the Tests file…or in the App keyword file.…That's really going to be your choice.…I tend to prefer to create it in the App keyword file,…simply because I want to keep my tests.robotfile…free from keywords.…This keyword is going to have an arguments section…to catch the test data that we're going to pass into it.…
What we'll do next is we'll delete the multiple test cases…and create one test case with a template attribute on it.…And the value for that template section…is going to be the name of the keyword…that we created that holds those common steps.…So this creates an association between the test case…and the respective keyword that holds the steps.…And then finally we'll add data rows into our test case.…
Author
Released
12/10/2018- Advanced command-line options
- Forcing and randomizing test execution order
- Making decisions with automatic variables
- Using keywords to return values
- Updating Python and PIP
- Updating your libraries, browsers, and web drivers
- Testing specific elements with web locators
- Conditionals and loops
- Dictionaries
- Data-driven testing
- Testing a multisite from end to end with Robot Framework
Skill Level Intermediate
Duration
Views
Related Courses
-
Java: Testing with JUnit
with Peggy Fisher1h 10m Intermediate -
F#: Automated Testing for Developers
with Kit Eason2h 33m Intermediate -
Effective Android Testing for Mobile Developers
with Chiu-Ki Chan2h 56m Intermediate -
Python Automation and Testing
with Bhoomika Agarwal1h 16m Intermediate -
Robot Framework Test Automation: Level 1 (Selenium)
with Bryan Lamb6h 23m Intermediate
-
Welcome
-
About me43s
-
-
1. Quickly Turbocharge Your Level 1 Skills
-
PyCharm Find Usages feature1m 14s
-
PyCharm TODO feature2m 56s
-
Force test execution order2m 29s
-
Get more detailed logs5m 25s
-
Automatic variables1m 56s
-
Return values from keywords2m 53s
-
2. Keeping Your Tools Up to Date
-
Tools overview1m 56s
-
Updating Python and PIP1m 40s
-
Examine library versions1m 33s
-
Updating your IDE and plugin5m 32s
-
-
3. Web Locators: Preconditions
-
HTML tags7m 22s
-
HTML attributes3m 5s
-
CSS3m 37s
-
Bootstrap8m 59s
-
Summary3m 9s
-
4. Web Locators: Fundamentals
-
Locator selection tool2m 24s
-
Install the tools3m 2s
-
-
5. Web Locators: Advanced
-
Basic XPath and CSS syntax11m 24s
-
Partial locators: ends-with2m 10s
-
6. Script Control Flow
-
IF/ELSE: Making decisions4m 59s
-
Loops12m 54s
-
7. Advanced Data Management
-
Dictionary overview3m 39s
-
-
8. Data-Driven Tests: Overview
-
Overview and demo6m 13s
-
Tour the starter project7m 59s
-
-
9. Data-Driven Tests: Built-In Method
-
Built-in capabilities11m 53s
-
-
10. Data-Driven Tests: CSV (Excel)
-
Overview of the steps1m 59s
-
Create the CSV data file2m 45s
-
Custom CSV parsing library4m 15s
-
Create our data manager3m 3s
-
Call the data manager3m 26s
-
Refactor data entry steps1m 47s
-
Run and debug5m 2s
-
-
11. Multi-App End-to-End Scenario
-
Scenario overview1m 3s
-
Refactor with directories4m 59s
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Built-in capabilities