使用HP Unified Functional Testing---检查点的总体实现02

Dialog("Login").Activate
Dialog("Login").WinEdit("Agent Name:").Set "a123"
Dialog("Login").WinEdit("Password:").SetSecure "5624890beb7e522b2f167ee811b38fbc4146bbb7"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Restore
Window("Flight Reservation").WinMenu("Menu").Select "File;New Order"
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 "7"
Window("Flight Reservation").Dialog("Open Order").WinButton("OK").Click
Window("Flight Reservation").WinMenu("Menu").Select "File;Fax Order..."
Window("Flight Reservation").Dialog("Fax Order No. 3").WinButton("Send").Check CheckPoint("Send_2")
Window("Flight Reservation").Dialog("Fax Order No. 3").WinButton("Cancel").Click
Window("Flight Reservation").WinMenu("Menu").Select "File;New Order" ' This will open the Fax Order window 使用HP Unified Functional Testing---检查点的总体实现02_第1张图片

你可能感兴趣的:(小程序)