Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
Hi Falk,
Sounds like an easy fix. (I did not have a closer look yet.)

Could you create a patch and a little test for this issue?

Regards,

Fred

Original comment by [email protected] on 8 Mar 2013 at 2:50

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
So i have created a eclipse plugin test , it will open the preferences and just 
enter "<>" in the search field to test if WindowTester enters it correctly.

And a patch is attached :)

Regards,
Falk

Original comment by [email protected] on 11 Mar 2013 at 11:10

Attachments:

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
[deleted comment]

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
Hi Falk,

After looking at this issue more closely, I think this problem only occurs, 
when the correct locale is not set.
Executing the following code in your setup() method should fix it:

Locale.setDefault(new Locale("de", "DE"));
WT.setLocaleToCurrent();


There is also an existing test case here:
/com.windowtester_test/src/com/windowtester/test/runtime/KeyMapTextEntryTest.jav
a
(Not sure why most of the code is commented out, though.)

The current solution of having to set the locale manually is far from perfect 
and not intuitive. The whole "key entering"-approach seems a bit fragile 
anyway. I hope this can be fixed in the future.

Regards,

Fred

Original comment by [email protected] on 16 Mar 2013 at 6:42

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
Hi Fred,

Yes you are right the whole "key entering"-thing have to be fixed some day, i 
use only the standard us layout to get it working, i tried as you suggest to 
set it to "de" and however WT is not able to enter any text in my test case .. 

So maybe let this issue as reminder open and change the title ?
I will have a deeper look at it next days.

Regards,
Falk

Original comment by [email protected] on 18 Mar 2013 at 9:54

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
Hi Falk,

Which OS do you use?
Setting the locale should definitely work on Windows. I know there are issues 
with
Linux, as it seems to need it's own special keymap.

Regards,

Fred

Original comment by [email protected] on 18 Mar 2013 at 11:26

from windowtester.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 8, 2024
We are using Linux also for the automatically test builds on jenkins.

So we have to deal with that workaround i see. 

Regards,
Falk

Original comment by [email protected] on 18 Mar 2013 at 12:45

from windowtester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.