How to Create a DTP and a DTC


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).

    Table 12.6: DTC Scenario 1: Left Mouse Button Is Clicked

    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.

     



UNIX Application Migration Guide
Unix Application Migration Guide (Patterns & Practices)
ISBN: 0735618380
EAN: 2147483647
Year: 2003
Pages: 134

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net