预制条件:qtp11+winq7,插件java+web
代码如下:
Browser("baidu").Page("cpm").Frame("main").WebEdit("xpath:=//input[@id='ext-comp-1009']").Click
wait 2
Browser("baidu").Page("cpm").Frame("main").WebElement("xpath:=//div[@id='ext-gen650']/div[4]").Click
wait 2
提示
Cannot idenfity the boject "[WebElment]"(of class WebElement).verify that this object's properties match an boject cumently displayed in your application