Issues with Selenium RC and Selenium IDE typeKeys 

The typeKeys doesn’t type the ‘dot’ in the text we are entering:
selenium.typeKeys(“assigned_to”, “seleniumwiki.com”);
Your output will be seleniumcom and not selenium.com. The “dot” is missing. This is happening with both Selenium RC and Selenium IDE.
Here is another issue with typeKeys
selenium.typeKeys(“id=username”, “TypeKeys”);
Your output will be “TpeKes” in the textfield. The “Y” is stripped out.
When use “typeKeys” to type “y”, it will active “file” menu in firefox.
Other characters are all OK.

This issue is now fixed when you use the WebDriverBackedSelenium class because you use WebDriver as a backend instead of Selenium Core. The merge with WebDriver for the Sel-IDE side is in progress. But I’ll see what happens in your case but it’s probably in Selenium Core where the problem occurs and not in Selenium IDE. The file concerned is htmlutils.js (function triggerKeyEvent).


Author: Pavandeep Puddupakkam on September 6, 2010
Category: Selenium IDE, Selenium RC, Software Testing
Tags: , , , , ,
Google Webdriver Forum -The Online Community for Google Webdriver and Selenium RC Users and Professionals
1 response to “Issues with Selenium RC and Selenium IDE typeKeys”
  1. Rajeev says:

    One workaround we figured to resolve this issue is to use the combination of ‘type’ and ‘type_keys’. As you might be aware, type does not have such issues.

    We did this in our selenium python script and it works just fine.

    For example:
    If there’s an email address to be entered in a text box: test.me@test.me.uk

    Then do
    type(,’test.me@test.me.’)
    type_keys(,’uk’)

    Maybe a very crude way to do, but did the job.

    Hope this helps someone else with a similar problem.

Leave a Reply

Last articles