Learn how to make your Robot Framework scripts execute in a specific order.
- This will be a short, but very useful, video…about forcing script execution order.…As I demonstrated in robot framework level one,…script files traditionally will execute…in alphabetical order.…We can change this prefixing files with…a two-digit number and then two…underscores before the file name.…For example, it would be zero one underscore underscore…some feature dot robot, and then…zero two underscore underscore another feature.…Even though some feature comes after…another feature, alphabetically,…the fact that I prefixed with zero one double under…and zero two double under caused the test scripts…to execute in a different order.…
So, let's see what that looks like.…Here I've got a typical robot framework…automation project, and I've got three files.…Feature one. Feature two. Feature three.…If I run this right now, and we open up and examine…the log file, you can see that the execution order…was feature one, feature two, feature three…because that's alphanumeric order.…Now, like I said, if I right-click on these files,…
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: Force test execution order