background image
<< 1. Planning Your Test | Test Case 1 Review >>

Evaluating a Test Case

<< 1. Planning Your Test | Test Case 1 Review >>
Exercise: Evaluating a Test Case
1-2
Planning Your Test
Exercise: Evaluating a Test Case
In this exercise you will test your understanding of a useful test case. First, read Test
Case 1,
then answer the questions in Test Case 1 Review.
Test Case 1
Test Name:
InsertOrder
Test Objective:
Create a new order with the Flight Reservation application.
Description:
Test the functionality of the process to create a new flight reservation.
Application:
\QTP\samples\flight\app\flight4a.exe
Windows Versions:
Windows 2000 or Windows NT
Test Requirements:
1. Verify that "Insert Done..." appears in the status bar of the Flight Reservation window.
2. Verify that an order number is displayed in the Order No box of the Flight Reservation
window.
3. Verify that the application accepts different combinations of from and to cities.
4. Verify the state of the check boxes in the Open Order window.
Initial conditions: all enabled.
When Customer Name or Flight Date is checked: Order No. is disabled; the other
2 are enabled.
When Order No. is checked: Order No. is enable; the other 2 are disabled.
5. Verify that "10" is the maximum number of tickets accepted for a flight reservation.
6. After clearing the window of all data, verify that the order just created can be opened and
displayed in the Flight Reservation window.