History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-349
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ted Pearson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Option to not show "4 most recent commands" in selenium frame

Created: 19/Sep/07 09:49 AM   Updated: 12/Aug/08 05:35 PM
Component/s: Server
Affects Version/s: 0.9.2, 1.0
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File SRC-349.diff (2 kb)



 Description  « Hide
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!

 All   Comments   Work Log   Change History      Sort Order:
Ted Pearson - 19/Sep/07 09:50 AM
Meant to mark this as minor, whoops

Ted Pearson - 21/Sep/07 01:52 PM
I have created a patch that implements a "setShowCommands" function to resolve this issue. However all the edits for it are to selenium-core, should i create a new bug on selenium core and post this diff there? Thanks.