|
之前录制过回放正常,,,
今天想再录制一次,没想到回放时就提示错误. 代码和之前录制保存的是一样的..
Dialog("Login").WinEdit("Agent Name:").Set "gold"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4abf15cc49795b82aebec9f0b87fe31eff0c892c"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinObject("Date of Flight:").Type "090929"
Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Activate "20331 FRA 09:12 AM LAX 04:23 PM AA $112.20"
Window("Flight Reservation").WinEdit("Customer Name:").Set "hhjh"
Window("Flight Reservation").WinButton("Insert").Click
Window("Flight Reservation").Close |
|