Anna
Difficult to say without seeing the event handler code, but I would guess that the event handler is using some information from the event that you are not supplying in your fireEvent call. When you say it seems to work "clicking cells by coordinates", how did you pass those values? In the event object?
John


On 9/16/05, Anna Tuisheva <[EMAIL PROTECTED]> wrote:
I'm working with a page that has a table with two events - onKeyDown and onDblClick. When these events occur, an input text box is displayed in a cell that's been clicked. It's always the same input, but repositioned to a new cell each time. It is not visible when no cells are active: it is located on an invisible layer. All these objects are in a frame.
Luckily, all table cells have IDs. Watir clicks and sets focus to the cells, but the events are never fired up. No errors returned; the cells are highlighted as they are clicked, so this part works.
I need to enter values into the cells using the input that is displayed after clicking them (this is a table event). I tried Table[1][1].click, Table[1].[1].focus, Table.fireEvent, Table[1][1].fireEvent, send_keys, and several AutoIt tricks. I also tried various combinations of all these methods. The only thing that seems to work is clicking cells by coordinates. This is not an option at all.
Any ideas?
 
Thanks,
Anna.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general



_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to