Lesson 2 – Creating a Test Method
456
2-8 Debugging Test Method Programs
SmarTest uses the HP WDB GUI for debugging test method
programs. The HP WDB GUI is a graphical user interface (GUI)
designed by Hewlett-Packard for the WDB debugger.
Starting the WDB
For starting to debug testmethod-based test suites, you must do
the following procedure in the Test Flow Editor.
1 Turn on the Set break point testsuite flag for the desired
testmethod-based test suites.
2 Select test method debugger from the Edit menu of the Test
Flow Editor. The HP WDB GUI opens.
WDB Debugger
3
Run a test (desired test suites or test flow). The source code of the
corresponding test method program is displayed in the Source
view of the debugger window. The program execution pauses at
the first executable line of it.
Using the WDB, you can do debug tasks such as:
• Setting breakpoints
• Controlling test method program execution
• viewing and changing values of variables
Breakpoints
Program
Counter
Watch Tab
Command
Tab
Debugger
Icons