Version 7.1.5 25.1Inspecting the Standard Library In addition to inserting procedure calls from the Standard Library, it also can be helpful to sometimes have a look how certain things have been implemented. Action Locate and load the test suite file qfs.qft, which is located in the qftest-7.1.5/include directory of your QF-Test installation. Figure 25.1: The Standard Library You can see there is…
Version 7.1.5 14.3Skipping Execution of Nodes The "skip" functions expand the QF-Test debugger's capabilities in a powerful way which is not typically possible for a debugger in a standard programming environment. In short, they allow you to jump over one or more nodes without having to execute them. This may be helpful for various reasons, e.g. to quickly navigate to a certain position in your…
Version 7.1.5 IIWeb UI testing with QF-Test This part II of the tutorial is meant to help you learn the basic features and workflows of QF-Test. It focuses on the test of web applications and its specifics. For testing Java applications please go to part I or part III for native Windows programs, as those parts use the same scenarios but with different systems under test. In case you already have…
Version 7.1.5 5.3Skipping Execution of Nodes The "skip" functions expand the QF-Test debugger's capabilities in a powerful way which is not typically possible for a debugger in a standard programming environment. In short, they allow you to jump over one or more nodes without having to execute them. This may be helpful for various reasons, e.g. to quickly navigate to a certain position in your…
Version 7.1.5 23.3Skipping Execution of Nodes The "skip" functions expand the QF-Test debugger's capabilities in a powerful way which is not typically possible for a debugger in a standard programming environment. In short, they allow you to jump over one or more nodes without having to execute them. This may be helpful for various reasons, e.g. to quickly navigate to a certain position in your…
Version 7.1.5 19.2Starting the Application Our first step is to examine the "Setup" node: ActionExpand the Setup: Start Demo node now. Figure 19.3: The Setup Node In the "Setup" node you'll see two child Sequence nodes: Set variable - set the variable 'client' to the connection name for the SUT, which will be needed for every action replayed to the application. Sequence: Start client if necessary…
Version 7.1.5 10.5The Run log for Error Diagnosis QF-Test logs detailed information for every test execution. Action Please open the latest run log by one of the following options: either by pressing the Show run log button of the error dialog or in case you have already closed the dialog by pressing toolbar button or by pressing [Ctrl-L]. NoteThe most recent run logs are also listed at the bottom…
Version 7.1.5 17.1If - else You already came across 'If' nodes in the 'Setup' sequence in the chapter Starting the Browser. Let's have a closer look at the details of the node. Figure 17.1: Setup Sequence with if-else structures By means of an 'If' node you can control whether certain nodes will be executed or not. In our case whether to start the SUT application. First, we need to find out if…
Version 7.1.5 15.4Setting Variables In addition to the methods you have already seen, variables can also be set as follows: Via the 'Set variable' node, as the return value of a procedure, as the result value of QF-Test nodes like the 'Fetch text' node, the 'Fetch geometry' node, the 'Fetch index' node and the 'Check' node, in the 'Variable definitions' table of the 'Test-suite' node, the 'Test…
Version 7.1.5 10.2Starting the Browser Our first step is to examine the "Setup" node: ActionExpand the Setup: Open Demo Page node now. Figure 10.3: The Setup Node In the "Setup" node you'll see two child Sequence nodes: Set global variables dependent on OS - defines the global client variable used throughout the test suite and variables for the browser to be used dependent on the operating system…