4990215 发表于 2008-8-29 11:08:39

QTP不能识别对象

Cannot identify the object "category_id" (of class WebList). Verify that this object's properties match an object currently displayed in your application.
Line (9): "Browser("大家健康网").Page("创盛互联").WebList("category_id").Select "2"".

Cannot find the "确定" object's parent "Microsoft Internet Explorer" (class Dialog). Verify that parent properties match an object currently displayed in your application.
Line (12): "Browser("大家健康网").Dialog("Microsoft Internet Explorer").WinButton("确定").Click".

控件是用javascript实现的。
我的用的是QTP8.2,已经安装java-add-in
我是新手,求高手帮助

zte_boy 发表于 2008-8-29 11:18:38

你这不是对象不识别啊,weblist和winbutton都识别出来了
你检查下是否对象属性有问题

4990215 发表于 2008-8-29 11:30:21

首先谢谢你

首先谢谢你,我想不到这么快就会有人帮忙。
为什么run-time属性里面
winObject objects do not support runtime object properties.
页: [1]
查看完整版本: QTP不能识别对象