|
本帖最后由 tianshilan 于 2014-1-24 16:18 编辑
录制回放一个web页面,web页面上有日期控件,每次回放到日期控件时总是提示:Cannot find the "orderDate" object's parent "Frame" (class Frame). Verify that parent properties match an object currently displayed in your application.
Line (5): "Browser("欢迎登陆WMS系统").Page("首页").Frame("Frame").WebRadioGroup("orderDate").Select "4"".
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.
录制的脚本为:
Browser("欢迎登陆WMS系统").Page("欢迎登陆***系统").Link("登录").Click
Browser("欢迎登陆WMS系统").Page("首页").WebElement("WebElement").FireEvent "onmouseover"
Browser("欢迎登陆WMS系统").Page("首页").Frame("Frame").WebRadioGroup("orderDate").Select "4"
Browser("欢迎登陆WMS系统").Page("首页").Frame("Frame").WebList("stockoutOrderPage.params.expre").Select "淘宝" |
|