QTP中object spy不能识别web页面对象的解决方法
上一篇 /
下一篇 2013-04-07 18:15:47
/ 个人分类:QTP 对象类别
今天上午装了新的QTP10.0,发现用object spy捕获web页面对象时(例如webedit等),只能识别为winobject。
通过搜索资料和自己的摸索,总结出解决问题的方法如下:
1.安装完成之后重启一下QTP或者系统,以免DLL文件没有被加载到IE中
2.先启动QTP10.0,然后再打开IE浏览器进行对象的识别操作
3.打开IE浏览器的工具->Internet选项->程序->加载管理项。把加载的文件状态改为启用(有可能被设为禁用了)
以上就是解决问题的三个方法,希望对大家学习QTP的时候有所帮助
Preparing to Create a Test
Before you begin creating a test, ensure that your application and QuickTest
are set to match the needs of your test. For the purposes of this tutorial:
➤ In Microsoft Internet Explorer, clear the AutoComplete option for user
names and passwords (choose Tools > Internet Options > Content tab >
AutoComplete Button).
➤ Close all browsers before you begin.
➤ Set the proper Web Page/Frame. options. Open QuickTest, choose Tools >
Options and click the Web > Page/Frame. node. In the Create a new Page
test object for area, select Different URLs or a change in data transfer and
select the first four check boxes.
收藏
举报
TAG: