51Testing软件测试论坛

标题: 录制回放遇到问题,请帮忙解决,谢谢! [打印本页]

作者: jan1    时间: 2010-9-16 17:45
标题: 录制回放遇到问题,请帮忙解决,谢谢!
我这几天在用QTP录制脚本回放时总是出现如下错误,有人碰到这个问题,请问如何解决。



test results:
Cannot find the "Login" object's parent " Client [Ver. 2.3.2.0915]" (class Window). Verify that parent properties match an object currently displayed in your application.
Line (1): "Window(" Client [Ver. 2.3.2.0915]").Window("Login").WinObject("Login").Click 18,17".

重新录制了几遍都是一样。怎么解决啊,谢谢!
作者: 开朗幽默    时间: 2010-9-17 11:23
把代码发出来看看
作者: jan1    时间: 2010-9-17 11:46
Window("HRM Client [Ver. 2.3.2.0915]").Window("Login").WinObject("Login").Click 28,8
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("WindowsForms10.Window.8.app.0.").Click 0,19
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("WindowsForms10.COMBOBOX.app.0.").Click 21,9
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("WindowsForms10.COMBOBOX.app.0._2").Click 20,7
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("17").Click 17,14
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("WindowsForms10.COMBOBOX.app.0._3").Click 70,16
Window("HRM Client [Ver. 2.3.2.0915]").WinObject("WindowsForms10.COMBOBOX.app.0._4").Click 23,12




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2