For a table with multiple tbodies, you should use StandardTable as described in
http://code.google.com/p/aost/wiki/UserGuide?tm=6#Standard_Table The real power of Tellurium is to handle the nested objects. One possible UI module for your html source is as follows, ui.Table(uid: "questionGroup", clocator: [class: "QuestionGroup"]) { Table(uid: "row: 1, column: 1", clocator: [class: "datatable2"]) { RadioButton(uid: "row: 1, column: 1", clocator: [name: "1"]) } StandardTable(uid: "row: 2, column: 1", clocator: [class: "datatable2"]) { RadioButton(uid: "tbody: *, row:1, column: 1", clocator: [:]) } } Please let us know if you have any further problems. Thanks, Jian On Aug 6, 6:21 am, [email protected] wrote: > Note that, the TrUMP plugin does not work on the given page, so I need to > write code for the same. > > Thanks, > > Renuka Kale > > Desk : +91 20 6641 6341 > Cell : +91 9822824443 > > Renuka Kale/NYC-NY/US/Marsh/m...@mmc > Sent by: [email protected] > 08/06/2009 03:23 PM > Please respond to > [email protected] > > To > tellurium-users <[email protected]> > > cc > > Subject > Tellurium : nested <table> element > > Hi, > > I am newbie in using Tellurium tool and need help in locating elements in > html I have. > > Html has nested <table> tags with multiple <tbody> tags. The html is as > follows: > > <table class="QuestionGroup"> > <tr><td> > <table class="datatable2"> > <tbody><tr><td><input type=radio > name="1"/></td</tr></tbody> > </table > </td></tr> > <tr><td> > <table class="datatable2"> > <tbody><tr><td><input type=radio > name="2"/></td</tr></tbody> > <tbody><tr><td><input type=radio > name="3"/></td</tr></tbody> > <tbody><tr><td><input type=radio > name="4"/></td</tr></tbody> > </table > </td></tr> > </table> > > I need to identify UI elements for Tellurium scripts and also needs to > know how to access them. Can anyone help me? > > Thanks in Advance, > > Renuka Kale > ********************************************************************** > This e-mail transmission and any attachments that accompany it may > contain information that is privileged, confidential or otherwise > exempt from disclosure under applicable law and is intended solely for > the use of the individual(s) to whom it was intended to be addressed. > If you have received this e-mail by mistake, or you are not the > intended recipient, any disclosure, dissemination, distribution, > copying or other use or retention of this communication or its > substance is prohibited. If you have received this communication in > error, please immediately reply to the author via e-mail that you > received this message by mistake and also permanently delete the > original and all copies of this e-mail and any attachments from your > computer. Thank you. > ********************************************************************** > > To: tellurium-users <[email protected]> > cc: > From: [email protected] > > ********************************************************************** > This e-mail transmission and any attachments that accompany it may > contain information that is privileged, confidential or otherwise > exempt from disclosure under applicable law and is intended solely for > the use of the individual(s) to whom it was intended to be addressed. > If you have received this e-mail by mistake, or you are not the > intended recipient, any disclosure, dissemination, distribution, > copying or other use or retention of this communication or its > substance is prohibited. If you have received this communication in > error, please immediately reply to the author via e-mail that you > received this message by mistake and also permanently delete the > original and all copies of this e-mail and any attachments from your > computer. Thank you. > ********************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
