|
我刚才对登录用户名参数化了一下,再运行就有问题了,各位能否帮我看下哦.
Dialog("Login").WinEdit("Agent Name:").Check CheckPoint("Agent Name:")
Dialog("Login").WinEdit("Agent Name:").Set DataTable("userName", dtLocalSheet)
Dialog("Login").WinEdit("Password:").SetSecure "50a9d34a05770afa3689aeb50ace06335019be77"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinObject("Date of Flight:").Type "121118"
Window("Flight Reservation").WinObject("Date of Flight:").Type micBack
Window("Flight Reservation").WinObject("Date of Flight:").Type "9"
Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Activate "20262 DEN 10:12 AM LON 05:23 PM AA $112.20"
Window("Flight Reservation").WinEdit("Name:").Set "ttt"
Window("Flight Reservation").WinButton("Insert Order").Click
Window("Flight Reservation").Close
最后用户名的标准检测点没有通过,在没有参数化之前,检查点是通过了的。 |
|