4.6. Registering an Extension Class

To use your test or resource class, you must place the Python module file containing it in a directory where QMTest can find it. QMTest looks in three places when loading extension classes:

You should generally place module files containing your test classes in the test database's QMTest directory, unless you plan to use the test classes in more than one test database.

You must use the qmtest register command to register your new extension class. You must perform this step no matter where you place the module containing your extension class.

You can refer to the new extension class using the syntax module.Class, where module is the name of the module and Class is the name of the class.