assertj / assertj/assertj-swing

Add support for Spanish

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
import from fest-swing Major
Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Description

_Issue by **[Gustavo Jimenez Hernandez](http://jira.codehaus.org/secure/ViewProfile.jspa?name=codegus)** 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.