Monday, 17 March 2014

QTP Recovery Scenario

Window("Flight Reservation").Activate Window("Flight Reservation").WinMenu("Menu").Select "File;Open Orde... thumbnail 1 summary



Window("Flight Reservation").Activate
Window("Flight Reservation").WinMenu("Menu").Select "File;Open Order..."
Window("Flight Reservation").Dialog("Open Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit("Edit").Set "4"
Window("Flight Reservation").Dialog("Open Order").WinButton("OK").Click


Window("Flight Reservation").WinRadioButton("First").Set


Window("Flight Reservation").WinComboBox("Fly To:").Select "Seattle"
Window("Flight Reservation").WinComboBox("Fly To:").Select "San Francisco"



scenarionname: RCname_4charsc
add recovery scenario tothe current step

do you want to save changes before closing?
press Yes

Save RS: 4char.qrs  <file>

Press Save butt0on


===================================================

No comments

Post a Comment