From: Timothy W. <tw...@us...> - 2006-05-23 16:37:14
|
It looks like you've got four identical buttons (I can't tell if =20 they're showing or not). Do you get the error the first time you run the app, or only on =20 subsequent runs? Does the number of potential matches increase on =20 each application run? On May 23, 2006, at 3:15 AM, sivanani1980 wrote: > > [Redirected from java-gui-testing to the appropriate group. =20 > Apologies for duplicates that get through] > > Application contains two screens > 1) First Screen Contains 3 Text fields and next button. > 2) Second Screen Contains 4 test fields and Close Button. > Scenario: Ran application throw abbot and Recorded following steps : > 1) First screen is opened and Entered details in text boxes of first > screen > 2) Clicked on next > 3) Then the second screen is opened again entered all the details in > text boxes > 4) Stopped recording > 5) Saved Script . > 6) Now i ran same script which i saved previously this time i am > getting following exception... > > Error: abbot.finder.MultipleComponentsFoundException: Could not > distinguish between 4 components using <component > class=3D=3D"javax.swing.JButton" icon=3D=3D"Common_Next-02.png" > id=3D=3D"Common_Next-02.png" index=3D=3D"4" parent=3D=3D"JPanel = Instance 4" =20 > text=3D=3D"" > window=3D=3D"InQuizitor Editor" />: > (0) MCQQuestionEditorMain/JFrame(InQuizitor =09 > Editor):JRootPane:JLayeredPane:JPanel:JScrollPane:JViewport:QuestionBa=20= > nkMenu/JPanel:QuestionBankMenu$3/JPanel[2]:JButton(): > javax.swing.JButton[,=20 > 676,12,69x27,alignmentX=3D=3D0.0,alignmentY=3D=3D0.5,border=3D=3D,flags=3D= =16777632,ma=20 > ximumSize=3D=3D,minimumSize=3D=3D,preferredSize=3D=3D,defaultIcon=3D=3Dj= ar:file:/C:/=20 > Documents > and > Settings/vani/Desktop/SivaTest/3mrt-mcq-editor/mcq-=20 > questioneditor.jar!/resources/images/=20 > QE_Quit-01.png,disabledIcon=3D=3D,disabledSelectedIcon=3D=3D,margin=3D=3D= javax.swi=20 > ng.plaf.InsetsUIResource=20 > [top=3D=3D2,left=3D=14,bottom=3D=3D2,right=3D=14],paintBorder=3D=3Dtrue,= paintFocus=3D=3Dtrue,p=20 > ressedIcon=3D=3Djar:file:/C:/Documents > and > Settings/vani/Desktop/SivaTest/3mrt-mcq-editor/mcq-=20 > questioneditor.jar!/resources/images/=20 > QE_Quit-03.png,rolloverEnabled=3D=3Dtrue,rolloverIcon=3D=3D,rolloverSele= ctedIc=20 > on=3D=3D,selectedIcon=3D=3D,text=3D=3D,defaultCapable=3D=3Dtrue] > (1) MCQQuestionEditorMain/JFrame(InQuizitor > Editor):JRootPane:JLayeredPane:JPanel:JScrollPane:JViewport:QuestionBa=20= > nkMenu/JPanel:QuestionBankMenu$3/JPanel[2]:JButton(): > javax.swing.JButton[,=20 > 65,20,35x37,alignmentX=3D=3D0.0,alignmentY=3D=3D0.5,border=3D=3D,flags=3D= =16777632,max=20 > imumSize=3D=3D,minimumSize=3D=3D,preferredSize=3D=3D,defaultIcon=3D=3Dja= r:file:/C:/=20 > Documents > and > Settings/vani/Desktop/SivaTest/3mrt-mcq-editor/mcq-=20 > questioneditor.jar!/resources/images/=20 > Common_Mute-01.png,disabledIcon=3D=3D,disabledSelectedIcon=3D=3D,margin=3D= =3Djavax=20 > .swing.plaf.InsetsUIResource=20 > [top=3D=3D2,left=3D=14,bottom=3D=3D2,right=3D=14],paintBorder=3D=3Dtrue,= paintFocus=3D=3Dtrue,p=20 > ressedIcon=3D=3D,rolloverEnabled=3D=3Dtrue,rolloverIcon=3D=3D,rolloverSe= lectedIcon=20 > =3D=3D,selectedIcon=3D=3D,text=3D=3D,defaultCapable=3D=3Dtrue] > (2) MCQQuestionEditorMain/JFrame(InQuizitor > Editor):JRootPane:JLayeredPane:JPanel:JScrollPane:JViewport:QuestionBa=20= > nkMenu/JPanel:QuestionBankMenu$3/JPanel[2]:JButton(): > javax.swing.JButton[,=20 > 13,20,35x37,alignmentX=3D=3D0.0,alignmentY=3D=3D0.5,border=3D=3D,flags=3D= =16777632,max=20 > imumSize=3D=3D,minimumSize=3D=3D,preferredSize=3D=3D,defaultIcon=3D=3Dja= r:file:/C:/=20 > Documents > and > Settings/vani/Desktop/SivaTest/3mrt-mcq-editor/mcq-=20 > questioneditor.jar!/ > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------=20 > ~--> > Everything you need is one click away. Make Yahoo! your home page =20 > now. > http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/5cFolB/TM > --------------------------------------------------------------------=20= > ~-> > > > Yahoo! Groups Links > > <*> To visit your group on the web, go to: > http://groups.yahoo.com/group/java-gui-testing/ > > <*> To unsubscribe from this group, send an email to: > jav...@ya... > > <*> Your use of Yahoo! Groups is subject to: > http://docs.yahoo.com/info/terms/ > > > > > Timothy Wall http://abbot.sf.net |