Tutorial

Video Icon

In the near future we will upload videos for every chapter of the tutorial which will lead you step by step through QF-Test.

3
Writing a Procedure (Java)

In chapter one and two you learned how to start an application from QF-Test thus being able to record mouse and keyboard actions, add checks and organize the result in a test-case. This approach is fine and sufficient as long as your tests are simple and you have just a few of them. But as soon as the number of tests increases it is important to make use of so called 'procedures'.

Procedures to make sequences reusable and therefore avoid duplicated identical parts. This is important to keep the maintenance of your tests easy and efficient over time.

Procedures can be organized into packages Package. Procedures and packages are the basis for modularizing your tests.

3.1
Identifying reusable parts
3.2
Manual creation of procedures
3.3
Transforming nodes into procedures