Tutorial Icon
QF-Test Tutorial version vidéo

Tutoriel en version vidéo: Nous vous guidons pas à pas à travers QF-Test...

Setting a Breakpoint

First of all we need to activate debugging mode. There are several ways to do so. One of them is to set a breakpoint at the node where we want to have a closer look. When the test is being executed and QF-Test comes to the break point it will then pause and switch into debugging mode. The pause button Continue will then be activated.

  • Action Select a node and press [Ctrl-F8]. The breakpoint is indicated by a Continue.
Set break point
Figure 23.1:  Set break point
  • Action Select the 'Test suite' node and press [Enter] to start the test run.
Start test
Figure 23.2:  Start test run
  • Action Remove the breakpoint by pressing [Ctrl-F8] again.
Toggle breakpoint
Figure 23.3:  Remove break point

Instead of using the keyboard shortcut [Ctrl-F8] you may also set or unset a breakpoint by clicking the node and selecting the »Debugger«-»Breakpoint on/off« menu item, or alternatively right-clicking the node and selecting the »Breakpoint on/off« context menu item.

Again, you can see the little arrow, which now marks the next node to be executed, called the current node. When entering debugging mode QF-Test also navigates to the current node, in case it had not been visible, and selects it, highlighting it blue.

The menu option »Debugger«-»Clear all breakpoints« is useful to remove all breakpoints set in your test suite.

There is no limit to the number of breakpoints you can set in your test suite, but note that breakpoints are not saved with the test suite.