Reuse a test | Tutorial

Watch this short video to learn how you can group sequential steps in a test for reuse and how you can then include them in other tests. This is an efficient design pattern because once you have prepared a module for reuse, if you need to make a change, you only need to make it in the grouped module. All other tests using that module will automatically reflect the change.

Note:

You can build your tests top-down, by including all relevant steps and then breaking them down into sections or modules, or bottom-up, by first creating smaller modules, such as a login process, and then incorporating those smaller modules into more comprehensive tests. This is a simply a matter of preference

For your convenience, we have also listed the steps for the main procedures below the video.