Tutorial Icon
QF-Test Tutorial Video Version

Tutorial as a video version, where we guide you step by step through QF-Test...

Writing a Procedure (Java)

Video This chapter is also available as a video tutorial at "Writing a Procedure".

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 make sequences reusable and therefore avoid duplicated identical parts. This is important for easy and on the long run efficient maintenance of your tests.

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

Identifying reusable parts

Manual creation of procedures

Transforming nodes into procedures