Skip to content

Add support for Spanish #48

@croesch

Description

@croesch

Issue by Gustavo Jimenez Hernandez from Wed, 2 Sep 2009 09:02:34 -0500
Originally opened as http://jira.codehaus.org/browse/FEST-220


When it try write in a combo box using JComboBoxFixture occur a IllegalArgumentException, the text that is writing in the component is: !#$%&()'?¿¡+*~[]{}^
this is the trace:
java.lang.IllegalArgumentException: Invalid key code '47'
at org.fest.swing.core.RobotEventGenerator.pressKey(RobotEventGenerator.java:118)
at org.fest.swing.core.BasicRobot.doPressKey(BasicRobot.java:597)
at org.fest.swing.core.BasicRobot.keyPressAndRelease(BasicRobot.java:582)
at org.fest.swing.core.BasicRobot.type(BasicRobot.java:553)
at org.fest.swing.core.BasicRobot.enterText(BasicRobot.java:536)
at org.fest.swing.driver.JComboBoxDriver.enterText(JComboBoxDriver.java:363)
at org.fest.swing.fixture.JComboBoxFixture.enterText(JComboBoxFixture.java:199)

I could seen that the text wrote in the component was: !#$%/)', at this moment the test fail
but also noted that changing the keyboard input language (Spanish to
English) when the test is running, the error does not reproduce.


votes (original issue): 1
watches (original issue): 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions