google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[求助] 录制脚本出现点问题,大家讨论下

录制脚本出现点问题,大家讨论下


Window("MyCMMI").WinObject("<登陆系统>").Click 181,13
Window("MyCMMI").WinObject("WindowsForms10.STATIC.app5").Click 26,11
Window("NativePopupMenu").Click 42,9
Window("MyCMMI Client -- MyCMMIBS").Window("关于 MyCMMI Client").WinObject("确定(O)").Click 35,8

大家有没有遇到这个问题啊?我在录制一个脚本的时候我选择的是一个项目,但是脚本并没有识别出来,只是认了"<登陆系统>",还有就是在脚本语言中录制成Window(..),而不是以前录制的是SwfWindow(...),为什么啊?请指教
图片如下:
附件: 您所在的用户组无法下载或查看附件
I have to have my life goal,or I will die! Set life goal for myself,summon up, in pursuit of the goal to find myself!

TOP

还有我按"确定"按钮,录制下来的却是Window("MyCMMI").WinObject("WindowsForms10.STATIC.app5").Click 26,11脚本sdlkfj5
I have to have my life goal,or I will die! Set life goal for myself,summon up, in pursuit of the goal to find myself!

TOP

我没有使用Low Levle Recording的啊sdlkfj8
I have to have my life goal,or I will die! Set life goal for myself,summon up, in pursuit of the goal to find myself!

TOP

这个程序的开发语言是什么,你的qtp有相关的插件没?
出现“WinObject” 很明显没有识别出来到底是什么控件
另外,可以用spy去识别下
其他的解决途径还可以考虑:模拟鼠标轨迹,描述性编程

TOP

程序开发的语言是C#.Net语言,自己是装了.Net插件的,sdlkfj7
I have to have my life goal,or I will die! Set life goal for myself,summon up, in pursuit of the goal to find myself!

TOP

 
当前时区 GMT+8, 现在时间是 2008-11-23 05:53Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹