From the course: Robot Framework Test Automation: Level 2

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Script control overview

Script control overview

- [Instructor] Script Control Flow is a very important part of Test Automation. It gives you the ability to respond to conditions that come up during execution and make decisions. In this section we're going to talk about if else, and making decisions based on conditions you might encounter, and that's going to include making decisions based on just a single if statement, or if with one or more elses, and also an else clause. Then we're going to jump into looping, and we're going to talk about ways that we can repeat an action over and over again, and even take advantage of the counter to do something different in each operation. And there are several ways to loop, including looping through a range of numbers, looping over a list of items, or even repeating the same key word over and over again for a specific number of times, or even a specific time period. So let's jump right into it.

Contents