Page 1 of 1

Ranorex fills data on other language

Posted: Thu Mar 20, 2014 11:33 am
by gridle
Hi.
So, again, I have simple test which opens browser with needed url and fills some field with, for example, "qwerty". I run my tests in firefox. Also I have one instance of ff which is always opened (search there needed info). And I have two installed languages in my Windows (Belarusian and English).
Okay, here we go:
I go to my instance of ff, which is always opened, switch to Belarusian language and search what I need.
Then I start my test. New instance of ff is opened. So as before I worked in ff with Belarussian language, new ff has the same language. Test try to fill field with "qwerty" but it enters "йцукен" - it are the same symbols like "qwerty" but on Belarusian keyboard (hope picture below will help you to understand it better)
Image

So question is: whether it is issue or not?
Thanks

Re: Ranorex fills data on other language

Posted: Fri Mar 21, 2014 8:06 am
by mzperix
Hi,

since Ranorex uses the same global language settings as you, this works as intended. BUT: you can change the language of OS to the desired language in C#.

I did not try this, but searching google I found some links about SetLocaleInfo method:
Reference
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Forum topic about usage:
http://social.msdn.microsoft.com/Forums ... rplanguage

Best Regards,
Zoltán Major