sab_h 发表于 2011-11-29 23:01:38

问个问题,QTP自带的程序flight 在录制完回放第二次的时候报错

Object not visible

Line (6): "Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"

Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Agent Name:").TypemicTab
Dialog("Login").WinEdit("Password:").SetSecure "4ed4f1fdad2c2b91ad8c297b0e111cf31776645b"
Dialog("Login").WinEdit("Password:").TypemicReturn
Window("Flight Reservation").WinObject("Date of Flight:").Type "121212"
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").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "1"
Window("Flight Reservation").WinEdit("Tickets:").SetSelection 0,1
Window("Flight Reservation").WinEdit("Tickets:").Set "2"
Window("Flight Reservation").WinRadioButton("Business").Set


第一次回放是成功的,为什么第二次就不行?

sab_h 发表于 2011-11-29 23:21:10

来个帅锅,美女,帮帮忙啊。

sab_h 发表于 2011-11-30 09:23:28

亲~ 来个人回答下啊

sab_h 发表于 2011-11-30 11:03:17

咋木有人呢。
页: [1]
查看完整版本: 问个问题,QTP自带的程序flight 在录制完回放第二次的时候报错