Page 1 of 1

encoding title elements

Posted: Mon Sep 26, 2011 1:09 pm
by S_Gavrikov
Dear, tell me.
I've installed the Russian version of Windows 7 and Ranorex 3.0.
After recording the script tool Ranorex Studio when trying to compile the script get the error message:

"Test2.Test2Repository" не содержит определение для "ButtonрХУЛ". Не удалось найти метод расширения "ButtonрХУЛ", принимающий первый аргумент типа "Test2.Test2Repository" (пропущено использование директивы или ссылка на сборку?) (CS1061) - C:\Users\Стас\Documents\Ranorex\RanorexStudio Projects\Test2\Test2\Recording1.cs:80,115

In reality, the code looks like this:

Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'ButtonПуск.ButtonПуск' at 34;39.", repo.ButtonПуск.ButtonПускInfo, new RecordItemIndex(0));
repo.ButtonПуск.ButtonПуск.Click("34;39");

How and where to prescribe explicitly the encoding to compile these errors from appearing?
I apologize for my English, as translated gogle.

Re: encoding title elements

Posted: Tue Sep 27, 2011 8:33 am
by S_Gavrikov
Решил проблему. Правится конфиг "repository.xft" Меняется значение "UTF-8" на "Win-1251".

Re: encoding title elements

Posted: Tue Sep 27, 2011 1:06 pm
by Support Team
Hi,
S_Gavrikov wrote:How and where to prescribe explicitly the encoding to compile these errors from appearing?
I apologize for my English, as translated gogle.
Please check the Ranorex Studio settings if the "File Enconding" is set to UTF-8. Normally is set to UTF-8 by default and UTF-8 shouldn't have any problems with Cyrillic.
To check this setting please open the Tools->Options Dialog. Then go to the Text Editor-> General part and check the encoding.
If it is not set to UTF-8 then please change it to this value and try it again.

Regards,
Peter
Ranorex Team