|
录制的流程大致如下:
1.在A页面点击放大镜button(如图),弹出work directory 窗口。
2.输入last name 和 first name,点击Search button, Search 出结果
3.选择查出的结果,点击 submit button, 则关闭当前窗口,返回页面A,并带回选择的结果
具体流程见图
回放的时候,只能回放到输入last name, 之后的都无法回放, 提示的错误是:Exception occurred during playback of script [Script1] [CRFCN0670E: RationalTestScriptException on line 46 of script Script1 - com.rational.test.ft.AmbiguousRecognitionException: CRFCN0527E: <b>Found 3 instances of the same test object. This often happens when multiple instances of the application are running.</b><> Details: Looking for BrowserTestObject(Name: <b>browser_htmlBrowser</b>, Map: htmlBrowser). <>First object: recognition score:0, description: {screenRectangle=java.awt.Rectangle[x=62,y=88,width=789,height=429], .title=Workforce Directory, .url=http://3msourcereg.mmm.com/wps/portal/3M/en_US/Workforce-Directory/Results/?returnToURL=http://externaltest6.3m.com:80/ewsadmin/workforceInfo.htm?method=select&selectionMode=single&inactive=false&soloMode=true}</P> <>Second object: recognition score:0, description: {screenRectangle=java.awt.Rectangle[x=62,y=88,width=789,height=429], .title=Workforce Directory, .url=http://3msourcereg.mmm.com/wps/portal/3M/en_US/Workforce-Directory/Results/?returnToURL=http://externaltest6.3m.com:80/ewsadmin/workforceInfo.htm?method=select&selectionMode=single&inactive=false&soloMode=true}</P> </P>..]. |
|