During the tutorial when the . key is used the application crashes.
has anybody encountered a simular problem?
D:\Ontwikkeling\EGD\abbot-1.0.2>java -cp lib/costello.jar junit.extensions.abbot
.ScriptFixture doc/editor-tutorial-1.xml
.080930 11:30:31:087 abbot.script.Script.load(Script.java:431):
Script file Untitled is empty
080930 11:30:31:087: Last message repeated 1 times
E
Time: 32,843
There was 1 error:
1) D:\Ontwikkeling\EGD\abbot-1.0.2\doc\editor-tutorial-1.xml(junit.extensions.abbot.ScriptFixture)java.lang.IllegalArgumentException: invalid key code 46 (char.)
at abbot.tester.Robot.keyPress(Robot.java:508)
at abbot.tester.Robot.key(Robot.java:1043)
at abbot.tester.Robot.keyStroke(Robot.java:1083)
at abbot.tester.Robot.keyString(Robot.java:1091)
at abbot.tester.ComponentTester.actionKeyString(ComponentTester.java:730)
at abbot.tester.ComponentTester.actionKeyString(ComponentTester.java:725)
at abbot.tester.JTextComponentTester.actionEnterText(JTextComponentTester.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at abbot.script.Call.invoke(Call.java:194)
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.Script.runStep(Script.java:530)
at abbot.script.StepRunner.runStep(StepRunner.java:274)
at abbot.script.StepRunner.run(StepRunner.java:194)
at junit.extensions.abbot.ScriptFixture.runTest(ScriptFixture.java:60)
at junit.extensions.abbot.ScriptTestSuite.main(ScriptTestSuite.java:205)
at junit.extensions.abbot.ScriptFixture.main(ScriptFixture.java:69)
FAILURES!!!
Tests run: 1, Failures: 0, Errors: 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2008-10-01
Some extra information.
the problem seems to be solved if i change my keyboard (currently Dutch (Belgium)) settings to English (United States) in windows xp.
this is a temporary workaround, but rather annoying if have to keep changing your Keyboard settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
During the tutorial when the . key is used the application crashes.
has anybody encountered a simular problem?
D:\Ontwikkeling\EGD\abbot-1.0.2>java -cp lib/costello.jar junit.extensions.abbot
.ScriptFixture doc/editor-tutorial-1.xml
.080930 11:30:31:087 abbot.script.Script.load(Script.java:431):
Script file Untitled is empty
080930 11:30:31:087: Last message repeated 1 times
E
Time: 32,843
There was 1 error:
1) D:\Ontwikkeling\EGD\abbot-1.0.2\doc\editor-tutorial-1.xml(junit.extensions.abbot.ScriptFixture)java.lang.IllegalArgumentException: invalid key code 46 (char.)
at abbot.tester.Robot.keyPress(Robot.java:508)
at abbot.tester.Robot.key(Robot.java:1043)
at abbot.tester.Robot.keyStroke(Robot.java:1083)
at abbot.tester.Robot.keyString(Robot.java:1091)
at abbot.tester.ComponentTester.actionKeyString(ComponentTester.java:730)
at abbot.tester.ComponentTester.actionKeyString(ComponentTester.java:725)
at abbot.tester.JTextComponentTester.actionEnterText(JTextComponentTester.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at abbot.script.Call.invoke(Call.java:194)
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.Script.runStep(Script.java:530)
at abbot.script.StepRunner.runStep(StepRunner.java:274)
at abbot.script.StepRunner.run(StepRunner.java:194)
at junit.extensions.abbot.ScriptFixture.runTest(ScriptFixture.java:60)
at junit.extensions.abbot.ScriptTestSuite.main(ScriptTestSuite.java:205)
at junit.extensions.abbot.ScriptFixture.main(ScriptFixture.java:69)
FAILURES!!!
Tests run: 1, Failures: 0, Errors: 1
Some extra information.
the problem seems to be solved if i change my keyboard (currently Dutch (Belgium)) settings to English (United States) in windows xp.
this is a temporary workaround, but rather annoying if have to keep changing your Keyboard settings.