This lesson is made to help you understand and utilize Flows in your tests.
Make sure you are comfortable with the following lessons:
Click Here to view all available lessons.
DRY = Don't Repeat Yourself
"...a principle of software development aimed at reducing repetition of software patterns, replacing it with abstractions or using data normalization to avoid redundancy."
In all testing, there is repetition -- performing actions from scratch over and over will lead to increased time, effort, and maintenance in your testing.
Therefore, as testers we need an efficient way to:
Avoid repeating yourself by using Flows!
Quote from: Foote, Steven (2014). Learning to Program. Addison-Wesley Professional. p. 336.
A grouping of reusable steps that accomplish a specific action.
- Import into any other test that needs to accomplish the same action
- Import into the same test multiple times
- Edit all instances of a flow by making changes to a single flow
- Parameterize with data inputs
- Loop through a specified number of times
(Looping is covered in more depth in this lesson)
Here comes the learning! 🤓
We will showcase each using a login example…
A parameter is a variable that exists only inside a Flow, and allows you to control what data is used within that particular Flow.