34 The Standard Library (Mobile)

Video This chapter is also available as a video at 'The Standard Library'.

QF-Test provides a certain number of node types that can be used for creating tests. If you need functionality that goes beyond that, you can implement it via script nodes. To make your work easier, many frequently required functions have already been implemented as procedures and are shipped with QF-Test in a standard procedure library.

So if you have a task that cannot be solved using the provided nodes, you should first explore the standard library to see whether you find a suitable or similar solution there. If you find a similar solution, simply copy the existing standard procedure and adapt it to your needs. For information about working with scripts, please see the manual, chapter 12 "Scripting".

The library is contained in the file qfs.qft and is part of the QF-Test distribution. Since it is further developed with every QF-Test version, it is not advisable to modify the shipped standard library. Instead, copy a procedure to your own test suite and adjust it there if needed.

In order to use the qfs.qft library, it must be included in the "Test suite" root node of your suite under "Included files". For new test suites this is done automatically.

Note No path specification is necessary because the include directory of QF-Test is automatically part of the library path (see also the reference section of the manual).

In the following we describe a selection of the most commonly needed standard procedures. A complete HTML documentation of the standard library can be found via the menu item »Help«-»Standard library qfs.qft...«.

34.1 Exploring the Standard Library

34.2 Selected Packages and Procedures