Tutorial as a video version, where we guide you step by step through QF-Test...
Version 8.0.1 |
To begin, you need to launch the application from qftest. There is a Quickstart Wizard to help you in creating the respective setup sequence.
The Wizard starts up with a welcome message and some further information.
Figure 2.1: The Quickstart Wizard |
In step two you can choose the type of application to be tested.
Figure 2.2: Type of Application |
In step three you can choose the type of application executable to be tested.
.exe, .cmd, .bat, .app,...
)"
Figure 2.3: Type of Executable |
The next step specifies the executable file.
qftest-8.0.1/demo/carconfigSwing/
of the QF-Test installation.
CarConfig.cmd
file (or
CarConfig.sh
on macOS/Linux).
Note In the figure below we used 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 2.4: Executable file selection. |
We directly reach the final summary that explains what will happen after closing the wizard and how to continue.
Figure 2.5: Final Information |
The generated setup sequence Launch CarConfig 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 2.6: Generated Setup Sequence |
Now we want to see some action:
You should see the 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 2.7: The CarConfigurator Demo Window |
At the end of this section let's save our test suite.
Documents
in your user home directory.
MyFirstTests.qft
.
Last update: 9/10/2024 Copyright © 2002-2024 Quality First Software GmbH |
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.