21.3 Transforming nodes into procedures
As already mentioned at the beginning of the last section, QF-Test offers an alternative, much faster way to create a procedure:
- Action Select the test step or sequence node that contains the reusable steps to be transformed into a procedure.
- Select menu item »Operations«-»Transform node into«-»Procedure« or use the Ctrl+Shift+P shortcut.
You will find that the test step or sequence node has disappeared and there is a procedure call in its place. Moreover, a procedure was created in the Procedures section containing the child nodes of the former test step or sequence node and named the same.
It is good practice with QF-Test to record a sequence, give it a name, and immediately turn it into a procedure via Ctrl+Shift+P if you expect it to be of use elsewhere as well.