htmlunit: how to select a vaadin table row?

Hi,

I’m trying to click on a table row using htmlunit with a code similar to this:

DomElement e = page.getFirstByXPath("//div[@id='tableid']
//table[@class='v-table-table']
//tr[3]
");
e.click();

While I get no exceptions running this code and DomElement e is found, no ValueChangeEvent nor ItemClickEvent is fired on server side’s table.

So, what is the rigth way to select a row from a Vaadin table using htmlunit?

Best regards,

   Pablo.

Hi,

I have just commited a tiny vaadin+htmlunit project to github to show the problem. As you can see, no ckick events are fired on servers’ side …

 https://github.com/hangorn/vaadinsTables/tree/master/vaadinsTables

Regards,

  Pablo.