Sending non-Latin characters using SendKeys
Posted: Tue Aug 19, 2008 1:50 pm
Hi,
I have performed the following test using non-Latin characters but I'm not getting the correct characters to appear correctly in the edit box for Notepad
string text = "воздушной";
Ranorex.Form notepad =
Ranorex.Application.StartWindowsApplication("C:\\Windows\\system32\\notepad.exe", "");
Ranorex.Application.Sleep(1000);
Ranorex.Control editBox = notepad.FindClassName("Edit");
editBox.SendKeys(text);
Sending "воздушной" results in "?????????" being received.
Is there a workaround if Unicode support is not available?
Cheers,
Andy
I have performed the following test using non-Latin characters but I'm not getting the correct characters to appear correctly in the edit box for Notepad
string text = "воздушной";
Ranorex.Form notepad =
Ranorex.Application.StartWindowsApplication("C:\\Windows\\system32\\notepad.exe", "");
Ranorex.Application.Sleep(1000);
Ranorex.Control editBox = notepad.FindClassName("Edit");
editBox.SendKeys(text);
Sending "воздушной" results in "?????????" being received.
Is there a workaround if Unicode support is not available?
Cheers,
Andy