I am having a lot of trouble trying to test a web application that makes use of the EXT javascript library (
http://extjs.com/). We're using the ext grid editor control, and I'm trying to be able to test "dropdown" menus in this grid. I've been unable to test this well though, because as soon as I attempt to click on one of these dropdowns in an editor field, the editor field disappears.
After several days of debugging, I finally found what in selenium is causing the disappearance of the editor field. It's in selenium-remoterunner.js, in the commandStarted extension to RemoteRunner, where the "Last Four Test Commands" are updated. I have found that any time selenium adds an element to the DOM, the editor field goes away. If i comment out all the "document.getElementById("commandList").removeChild(cmd[1-4]);" and "document.getElementById("commandList").appendChild(cmd[1]4);" , I am able to test sufficiently, because the editor field does not disappear.
My request is for some way to switch on and off the updating of the "Last Four Test Commands" - probably via a new selenium method, such as "setLastFourEnabled(boolean)".
For now, I will be simply be commenting out the eight offending lines in selenium-remoterunner.js, but I'd like a non-hack way to be able to do this without having to hack every latest version of selenium I download.
Thanks!