|
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"
Dialog("regexpwndtitle:=Login").WinEdit("attached text:=Agent Name:").Set "zhouqin"
Dialog("regexpwndtitle:=Login").WinEdit("attached text:=Password:").SetSecure "4ba76cdfdc6a09b3888407c7eea63dc57a6d6c93"
Dialog("regexpwndtitle:=Login").WinButton("regexpwndtitle:=OK").Click
Window("regexpwndtitle:=Flight Reservation").WaitProperty "text","Flight Reservation",10
Window("regexpwndtitle:=Flight Reservation").Close |
|