20.1 Starting the Application

To begin, you need to launch the application from QF-Test. The Quickstart Wizard helps to generate the respective setup sequence.

In the first step you can choose the type of application to be tested.

Figure 20.1:  Type of Application

The next step specifies the Windows application executable.

The second field can be left empty here. It is also possible to connect QF-Test to an already running Windows application by means of its window title, which can be specified in the second field. Regular expressions can also be used for specifying those window titles.

Note In the figure below, the QF-Test variable ${qftest:dir.version} to address the version specific directory of the QF-Test installation, which you have already come across in the previous chapter. (Details on special QF-Test variables can be found in the manual chapter Variables).

Figure 20.2:  Windows executable file selection.

The final summary explains what will happen after closing the wizard and how to continue.

Figure 20.3:  Final Information

The generated setup sequence Launch CarConfigForms appears in the "Extras" section of your test suite and contains three parts:

NoteThe information whether the client is already running is stored into a variable "isSUTRunning" in the first Wait for client to connect node and evaluated by the subsequent "If" condition. You can find this in the respective node details. This kind of conditional execution will be explained later in detail.

Figure 20.4:  Generated Setup Sequence

The next steps demonstrate the setup in action:

You should see the Windows CarConfigurator application appear on your screen soon. As the focus changes back to QF-Test after the execution, the Demo might be covered by the test suite window.

Figure 20.5:  The Windows CarConfigurator Demo

At the end of this section, save the test suite.