Problem with 4.0.1, IUIContext.enterText() and Swedish chars

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby PorkLip » Wed Nov 18, 2009 7:05 am

I have a problem when I try to use the IUIContext.enterText() using a string containing Swedish uppercase characters (Å,Ä or Ö). Event though I use uppercase characters in the invocation of enterText() the characters entered in the field is lowercase. Is this a known issue or have I messed something up locally?

/PorkLip
PorkLip
 
Posts: 4
Joined: Wed Nov 18, 2009 6:50 am

Re: Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby PorkLip » Wed Nov 18, 2009 8:34 am

I think I've found the solution to my problem here

http://downloads.instantiations.com/WindowTesterDoc/integration/latest/docs/html/programmer/core/International%20Keyboard%20Support.html

Invoking WT.setLocaleToCurrent() before the test solves the problem with the uppercase characters in my test.

/PorkLip
PorkLip
 
Posts: 4
Joined: Wed Nov 18, 2009 6:50 am

Re: Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby PorkLip » Wed Nov 18, 2009 8:48 am

Well using WT.setLocaleToCurrent solved the uppercase problem but it introduced a new problem :(

After invoking WT.setLocaleToCurrent() using Ä or ä in IUIContent.enterText() will enter an A or a in the field. So Ä and ä loses their umlaut (http://en.wikipedia.org/wiki/Umlaut). Ö,ö,Å and å works as expected when using WT.setLocaleToCurrent.

/PorkLip
PorkLip
 
Posts: 4
Joined: Wed Nov 18, 2009 6:50 am

Re: Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby keertip » Wed Nov 18, 2009 11:25 am

Please send this as a bug report to our support team at

wintest-support@instantiations.com

so that we can look into fixing the problem.
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Re: Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby PorkLip » Fri Nov 20, 2009 7:24 am

Okidoki. I'll send a mail to wintest-support.

/PorkLip
PorkLip
 
Posts: 4
Joined: Wed Nov 18, 2009 6:50 am

Re: Problem with 4.0.1, IUIContext.enterText() and Swedish chars

Postby Phil Quitslund » Fri Nov 20, 2009 12:24 pm

Great. Thanks! We'll follow-up there.
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest