If you explicitly run a test with a prerequisite, QMTest will not run the
prerequisite test automatically. In other words, prerequisites are an optimization; when
running both the prerequisite and the dependent test, QMTest will run them in the order
you've implied, and can omit the dependent test if it is not useful. But, QMTest will not
automatically force you to run the prerequisite tests when you want to run the dependent
test.
Yes, but you will have to write code to do that. QMTest is a general-purpose
test execution tool. While it does contain some useful built-in test classes (which
provide the ability to run external commands, for example), it does not contain
any sophisticated GUI-testing abilities.
If you want to test a GUI with QMTest, you can create a test class that does what
you need it to do by writing Python code to test the GUI, or you can create an
external program that does the testing and then use QMTest's built-in test classes
to invoke the external program.
The reference manual has more information
about extending QMTest.