51Testing软件测试论坛
标题:
为什么QTP 使用Java add-in录制的脚本不记录网页和控件名称
[打印本页]
作者:
dym_1017
时间:
2011-5-17 09:58
标题:
为什么QTP 使用Java add-in录制的脚本不记录网页和控件名称
脚本如下:
Window("Windows Internet Explorer").Activate
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Click 448,475
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Type "sys"
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Click 656, 485
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Type "3"
Window("Windows Internet Explorer").WinObject("Internet Explorer_Server").Click 784,484
作者:
iQuickTest
时间:
2011-5-18 12:30
对象没有被QTP识别成封装兑现个,首先你必须加载web 插件,如果网页里含有java控件再加入java插件,注意先开qtp,再开网页
作者:
fanjianmin
时间:
2011-5-26 11:23
楼上说的对,应该是没有加截相应的插件,
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2