PDA

View Full Version : Testing with EXT GWT Grid with input fields



kai_tea
1 Sep 2009, 3:35 PM
Hi,

Has anyone tried to test (with Selenium) an EXT GWT Grid with input fields, such as checkboxes and textfields?

I am able to identify the cell based on row and column name, but that does not do much good. The cell is represented as a div tag so there is no point in attempting to click or enter text on a div tag.

I noticed that when I inspect the checkbox or textfield, it refers to an input field outside of the div tag that represents the cell.

The problem is that there is only one input element for all input fields in each column.

Every time I inspect another input field, it refers to the same input element except with div id that wraps the input element.

Please see the following example:

http://extjs.com/deploy/dev/examples/grid/edit-grid.html

and inspect the textfields under Common Name.

Thanks.