另外通过描述性编程也试过了.
Browser("Browser").Page("name:=pickup_window_201001080003561","url:=http://10.110.0.205:6600/workflow/wf111.go?method=init").
WebList("t_wf_dcasedispatchmsg.sp_duty").Click
报错如下:
The "t_wf_dcasedispatchmsg.sp_duty" object was not found in the Object Repository.
Check the Object Repository to confirm that the object exists or to find the correct name for the object.
用下列语句:
Browser("Browser").Page("name:=pickup_window_201001080003561","url:=http://10.110.0.205:6600/workflow/wf111.go?method=init").
WebList("name:=t_wf_dcasedispatchmsg.sp_duty").Click
报错:
Cannot find the "[ WebList ]" object's parent "[ Page ]" (class Page). Verify that parent properties match an object currently displayed in your application.