From: Jord de R. <jde...@il...> - 2007-01-10 15:36:52
|
Hi,=20 =20 This is a comment from a newcomer to abbot swt. Is it normal that the title of your save action is"Save" and not "&Save" ? =20 Jord Rengerve =20 =20 =20 ------------------------------------------------------- Jord de Rengerve - ILOG JRules developer. jde...@il... =20 ________________________________ From: abb...@li... [mailto:abb...@li...] On Behalf Of arthy geraldin Sent: mercredi 10 janvier 2007 14:33 To: tw...@us... Cc: abb...@li... Subject: [abbot-users] abbot.finder.ComponentNotFoundException problem =20 Hello Timothy, =20 Currently I'm using abbot to test my GUI. The problem is I'm able to execute all test cases successfully.There is a File menu in my GUI which has a save option. When I record a sequence which includes the file save option abbot records successfully the sequence as a script. =20 But when I'm trying to run the recorded sequence I'm getting the following error. =20 Could you please tell me what is wrong? =20 Error: abbot.finder.ComponentNotFoundException: Could not find Save (JDialog): <component class=3D"javax.swing.JDialog" id=3D"Save" parent=3D"shared frame" title=3D"Save" /> in step 'SelectMenuItem(Save )' at /var/tmp/untitled-abbot-script14106.xml:82 abbot.finder.ComponentNotFoundException: Could not find Save (JDialog): <component class=3D"javax.swing.JDialog" id=3D"Save" parent=3D"shared = frame" title=3D"Save" /> at abbot.script.ArgumentParser.waitForComponentAvailable(ArgumentParser.jav a:400) at abbot.script.ArgumentParser.eval(ArgumentParser.java:312) at abbot.script.Call.evaluateParameter(Call.java:139) at abbot.script.Action.evaluateParameter(Action.java:152) at abbot.script.Call.evaluateParameters(Call.java:150) at abbot.script.Call.invoke(Call.java:165) at abbot.script.Call.runStep(Call.java:129) at abbot.script.Step.run(Step.java:92) at abbot.script.StepRunner.runStep(StepRunner.java:277) at abbot.script.Sequence.runStep(Sequence.java:110) at abbot.script.StepRunner.runStep(StepRunner.java:274) at abbot.script.Sequence.runStep(Sequence.java:110) at abbot.script.Script.runStep(Script.java:499) at abbot.script.StepRunner.runStep(StepRunner.java:274) at abbot.script.StepRunner.run(StepRunner.java:194) at abbot.editor.ScriptEditor$LaunchAction.run(ScriptEditor.java:2612) at java.lang.Thread.run(Thread.java:595) =20 Thanks in advance, GA =20 ________________________________ <http://answers.yahoo.com.sg>=20 Real people. Real questions. Real answers. Share what you know <http://answers.yahoo.com.sg> . |