This section describes the various plans and test cases that you should create when you test the migrated application.
A sample functional specification excerpt and the corresponding DTP and DTC follow. This information is based on the example provided in Capturing Mouse Events in Chapter 11, Migrating the User Interface.
DTP content:
Scenario 1: Mouse click in the client area of a window
Left mouse button is clicked.
Right mouse button is clicked.
Scenario 2: Mouse click outside the client area of a window
Minimize button is clicked.
Maximize button clicked.
Close button is clicked.
DTC content:
Scenario 1: Left mouse button is clicked (Table 12.6).
Test Case | Detailed Procedure | Requirements | Expected Result | Result |
Left mouse clicked in the button is client area | Press the left mouse button. Move the mouse Release the left mouse button. | Windows 2000, Microsoft Visual Studio | Two lines are drawn. First line is drawn to the point where the button was pressed. Second line is drawn to the point where the button was released. |