Hi,
I just started working with Abbot & Costello a couple of weeks ago and have figured out some of it. I want to do some functional testing of a phone app running in a phone emulator (WTK2.5.2) and when I try to launch the emulator in Costello's interface I get an abbot:ExitException (see below) I'm just wondering if anybody has any ideas on how to get Costello to launch this. Since it's Sun's WTK emulator I have to live with what I get from them but I'd like to run it inside of an abbot framework. Any thoughts?
Thanks
Wayne
-------------------- Stack Trace Below -------------------------------
<code>
Error: abbot.ExitException: Application exit denied (1) on Thread[Script runner:3,6,AUT Thread Group for Script Editor (root):0]
in step 'com.sun.kvem.environment.EmulatorWrapper'
at /home/wmotycka/abbot-1.0.2/lib/WTKlaunch:3
abbot.ExitException: Application exit denied (1) on Thread[Script runner:3,6,AUT Thread Group for Script Editor (root):0]
at abbot.NoExitSecurityManager.checkExit(NoExitSecurityManager.java:40)
at abbot.editor.ScriptEditor$EditorSecurityManager.checkExit(ScriptEditor.java:2842)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:868)
at com.sun.kvem.environment.EmulatorWrapper.main(EmulatorWrapper.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at abbot.script.Call.invoke(Call.java:194)
at abbot.script.Call.runStep(Call.java:129)
at abbot.script.Launch.synchronizedRunStep(Launch.java:138)
at abbot.script.Launch.runStep(Launch.java:203)
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.Script.runStep(Script.java:530)
at abbot.script.StepRunner.runStep(StepRunner.java:274)
at abbot.script.StepRunner.run(StepRunner.java:194)
at abbot.editor.ScriptEditor$LaunchAction.run(ScriptEditor.java:2660)
at java.lang.Thread.run(Thread.java:595)
</code>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well not exactly innocuous because I can't seem to get it to instantiate the WTK emulator. I've managed to get Microemulator to work in the Abbot/Costello framework however, so I'm taking my efforts that direction. I'm still a bit baffled by how to get multiple java command line options passed to the main of Microemulator but I'm persistent. Thanks for the reply Tim.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I just started working with Abbot & Costello a couple of weeks ago and have figured out some of it. I want to do some functional testing of a phone app running in a phone emulator (WTK2.5.2) and when I try to launch the emulator in Costello's interface I get an abbot:ExitException (see below) I'm just wondering if anybody has any ideas on how to get Costello to launch this. Since it's Sun's WTK emulator I have to live with what I get from them but I'd like to run it inside of an abbot framework. Any thoughts?
Thanks
Wayne
-------------------- Stack Trace Below -------------------------------
<code>
Error: abbot.ExitException: Application exit denied (1) on Thread[Script runner:3,6,AUT Thread Group for Script Editor (root):0]
in step 'com.sun.kvem.environment.EmulatorWrapper'
at /home/wmotycka/abbot-1.0.2/lib/WTKlaunch:3
abbot.ExitException: Application exit denied (1) on Thread[Script runner:3,6,AUT Thread Group for Script Editor (root):0]
at abbot.NoExitSecurityManager.checkExit(NoExitSecurityManager.java:40)
at abbot.editor.ScriptEditor$EditorSecurityManager.checkExit(ScriptEditor.java:2842)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:868)
at com.sun.kvem.environment.EmulatorWrapper.main(EmulatorWrapper.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at abbot.script.Call.invoke(Call.java:194)
at abbot.script.Call.runStep(Call.java:129)
at abbot.script.Launch.synchronizedRunStep(Launch.java:138)
at abbot.script.Launch.runStep(Launch.java:203)
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.Script.runStep(Script.java:530)
at abbot.script.StepRunner.runStep(StepRunner.java:274)
at abbot.script.StepRunner.run(StepRunner.java:194)
at abbot.editor.ScriptEditor$LaunchAction.run(ScriptEditor.java:2660)
at java.lang.Thread.run(Thread.java:595)
</code>
Well not exactly innocuous because I can't seem to get it to instantiate the WTK emulator. I've managed to get Microemulator to work in the Abbot/Costello framework however, so I'm taking my efforts that direction. I'm still a bit baffled by how to get multiple java command line options passed to the main of Microemulator but I'm persistent. Thanks for the reply Tim.
Wayne