Viewing the test hierarchy

Once you have defined a test hierarchy (see TestDriver Schema), you can use the print command to check if the test XML has been defined correctly. The print command enables you to view the hierarchy of the test on the screen.

The command-line syntax for printing the tree structure of a test to the screen is:

> testdriver print [-s test]

where, -s is mandatory, and is used to specify the test that is to be printed.

The test is specified using a name space with a dot notation. An example of the -s option is:

-s test1.test2

This would print the entire contents of Test2.