Never mind. I got it working by changing the UI definition to StandardTable instead.
________________________________ From: Jian Fang <[email protected]> To: [email protected] Sent: Thu, July 15, 2010 5:31:34 PM Subject: Re: Accessing the table headers I will create a test case for this. Please let me know if you are using Tellurium new Engine or Selenium core by default. Thanks, Jian On Thu, Jul 15, 2010 at 8:16 PM, super fan 911 <[email protected]> wrote: I have a table defined like this: > ><table id="table1"> > <thead> > <tr> > <th><input type="checkbox" id="check_all" /></th> > <th><a href="#" id="date">start date</a></th> > <th>....</th> > </tr> > </thead> > > <tbody> > <tr> > <td>...</td> > </tr> > </tbody> ></table> > >I am trying to access the table headers, need to click on the table >header to sort and check the checkbox. > >I used something like this: > >getTableMaxRowNum ("table1") returns the correct row count >getTableMaxColumnNum("table1") returns correct column count > >getTableHeaderColumnNum("table1") returns selenium error > >isElementPresent("table1.header[1]") returns false > >This is how i defined the UI defintions: > >Table(uid: "table1", clocator: [id: "table1"] { > > InputBox(uid: "{header: 1}", clocator: [:] > > ... > >} > > > >-- >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. > > -- 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. -- 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.
