Hi, Try clickElementByXPath("//tab...@id='myTable']//td[text()='something']");
(The XPath may need some improvement) Regards, Julien ________________________________ De : Francisca Todikromo <francisca.todikr...@gmail.com> À : jwebunit-users@lists.sourceforge.net Envoyé le : Mer 9 Décembre 2009, 17 h 07 min 37 s Objet : [JWebUnit-users] how to simulate onclick Hi, I have a table on my webpage with an onclick action in the tabledata. I can only go to the next page by clicking on this table data. How can I simulate the click on this element with JWebUnit? The HTML looks like this: <table id="myTable"> <td onclick="doSomething()'">something</td> </table> TIA.
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users