robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Press Key Native 517 failed due to invalid key code #253

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by zwb0... on 22 Oct 2012

Hi,

When I try to use "Press Key Native 517" to press Exclamation mark !, I always got "ERROR: Problem during keyDown: Invalid key code". But it works with numbers, letters and some special keys like tab, enter.

Best regards, Weibin

library version: robotframework-seleniumlibrary-2.9.1.win-amd64 + robotframework-2.7.4.win-amd64 Python: python-2.7.3.amd64 operating system: windows 7

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 13 Jan 2013

Key pressing is handled outside this library so there isn't anything we really could do to it. If I remember correctly, it is actually handled also outside Selenium itself and done fully on Java. If I, again, remember correctly, these key codes changed slightly in Windows 7 for some reason.