Scenario:
Tells us about an event.
A manager wants to assign a Doctor to a patient in an online application.
This is a scenario.
For this:
1. He has to select the name form a ListBox
Select doctor's name from the List Box.
Expected Result : The name should be selected (in the List Box).
QTP Script:
Window("selectDoctor").winListBox("DoctorsList").Select "DrJayan"
2. He has to click the Assign-button to assign this name to a patient.
Click on the assign button
Expected Result The selected doctor should be assigned to the patient.
QTP Script:
Window("selectDoctor").WinBUtton("Assign").Click
Bookish knowledge may be confusing sometimes....