I'm not sure if a formal solution has come out yet but we are doing this with the following function placed in htmlutils.js. I.e. it is not a user extension but then again you cant avoid making at least a slight change in the Selenium core framework anyway.
function triggerKeyUpEvent(element) { if(typeof element['onkeyup'] == "function") { element['onkeyup'](); } } Finally you call this function from anywhere within Selenium that you want the event to be triggered on an element. I've simply called once when the value is fully added to a text field. Craig. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hoy Sent: Friday, September 16, 2005 4:00 AM To: selenium-users@lists.public.thoughtworks.org Subject: [Selenium-users] Supporting of onKeyUp I am new to selenium so excuse the question When I use the type command to put text into a field the onkeyUp etc event are not throw. How do I get selenium to simulate these event? Chris Hoy _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users