|
各位大侠,帮忙哦
今天接手用qtp录制脚本,无论是cs还是bs,或者是qtp自带的flight系统,脚本能顺利的录制完成,但是在回放的时候总是提示错误,主要是报不能识别对象的错误,这种情况多半发生在打开新的字窗口,或者弹出一个msgbox、或者在text.box中出现,请问各位大大有什么办法帮忙解决。现在俺用的是qtp10.0的版本
例如类似的:
Cannot find the "是(Y)" object's parent "自动完成" (class Dialog). Verify that parent properties match an object currently displayed in your application.
Line (4): "Browser("OnLine Ordering (v2.1.0)").Dialog("自动完成").WinButton("是(Y)").Click".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository. |
|