感谢指正这个缺点,记录一下!下次发行的时候fix them作者: vancl 时间: 2012-2-29 19:58
你好!运行下面2段代码
'代码1
Browser("micClass:=Browser").Page("micClass:=Page")._
WebEdit("name:=wd").Set "QTP自动化测试技术领航"
'代码2
Browser("micClass:=Browser").Page("micClass:=Page")._
WebButton("name:=百度一下").Click
结果报Run error,错误消息如下所示,请问这个是什么原因,新手请教
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.
Line (2): "Browser("micClass:=Browser").Page("micClass:=Page")._".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.