参数化完成,无法运行第二行记录,提示FROM对象不能够识别?急
Dialog("Login").WinEdit("Agent Name:").Set "QIAN"Dialog("Login").WinEdit("Password:").SetSecure "5045b4a21d6abf5a6643d0253c2c5f2c36d1bf0f"
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").ActiveX("MaskEdBox").Type DataTable("p_date", dtLocalSheet)
Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"
Window("Flight Reservation").WinComboBox("Fly To:").Select "Frankfurt"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select "15881 DEN 10:24 AM FRA 11:09 AM AA $100.10"
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "qianyougen"
Window("Flight Reservation").WinEdit("Tickets:").SetSelection 0,1
Window("Flight Reservation").WinEdit("Tickets:").Set "2"
Window("Flight Reservation").WinButton("Insert Order").Click
Window("Flight Reservation").WinMenu("Menu").Select "File;Fax Order..."
Window("Flight Reservation").Dialog("Fax Order No. 23").ActiveX("MaskEdBox").Type "1234567890"
Window("Flight Reservation").Dialog("Fax Order No. 23").WinButton("Send").Click
直接贴代码,求各位大虾帮帮忙,在线等!!!
页:
[1]