Im currently using selenium to web test test scenarios in our web applications and we have used the EditorGrid for the first time.
The Editorgrid produces HTML similar to :
Code:
<td tabindex="0" style="width:148px;text-align:RIGHT;" class="x-grid3-col x-grid3-cell x-grid3-td-outValue ">
<div class="x-grid3-cell-inner x-grid3-col-outRate" unselectable="on">1.1</div>
</td>
It does seem currently that selenium cannot type into the elements cause it expects <input. elements to type into rather than <div> elements generated
I used some of the knowledge from
http://www.sencha.com/forum/showthre...ditorGridPanel
and used the following sequence of events
Code:
String xpath = .....;
getCurrentSelenium().click(xpath);
getCurrentSelenium().mouseDown(xpath);
getCurrentSelenium().mouseUp(xpath);
getCurrentSelenium().type(xpath, value);
getCurrentSelenium().keyPress(xpath, ENTER);
but selenium is unable to type into any of the fields. Is there some special steps, I need to take to incorporate the typing of keys in a div (which is masked as a input element)