Ranorex fills data on other language

Class library usage, coding and language questions.
Posts: 6
Joined: Mon Mar 10, 2014 5:13 pm

Ranorex fills data on other language

Post by gridle » Thu Mar 20, 2014 11:33 am

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)

So question is: whether it is issue or not?

Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: Ranorex fills data on other language

Post by mzperix » Fri Mar 21, 2014 8:06 am


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:
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