|
9#
楼主 |
发表于 2009-11-19 12:34:27
|
只看该作者
在脚本中有以下这段脚本,是点击网页主菜单myPurchasing下的workqueue菜单
(1)Browser("XXX Test - ABRAHAM,").Page("XXX Test - ABRAHAM,").Link("myPurchasing").MouseOver
wait 5
(2)Browser("XXX Test - ABRAHAM,").Page("XXX Test - ABRAHAM,").Link("WorkQueue").Click
wait 5
(3)Browser("XXX Test - ABRAHAM,").Page("XX Test - ABRAHAM,").WebButton("WebButton").Click
在回放时,有时会在第3段脚本就运行不下去了,出现以下提示
Cannot identify the object "WebButton" (of class WebButton). Verify that this object's properties match an object currently displayed in your application.
想请教以下问题:
1.我在录制点击workqueue菜单时,会何会有1,2段脚本,而不人仅仅是第2段脚本?第2段脚本是做何用的?
2.这个错误为何只是偶尔出现?是不是因为2,3段之间的wait所致?
谢谢 |
|