hi Sean
see if this link helps in some way
http://www.mail-archive.com/[email protected]/msg01299.html
AD

--- Sean Gallagher <[EMAIL PROTECTED]>
wrote:

> I am testing an ASP.NET app that uses a FlyTreeView
> control
>
(http://www.9rays.net/cgi-bin/components.cgi?act=1&cid=20).
> 
> The HTML includes elements in node tags, which are
> links to reports in the
> AUT:
> 
> <NODE Key=&quot;1&quot; Text=&quot;Summary
> Reports&quot;
> ToolTip=&quot;Summary Reports&quot;
> IsChecked=&quot;False&quot;
> Disabled=&quot;False&quot;
> DefaultStyle=&quot;padding: 3px 5px 3px 5px;
> FONT-FAMILY: Tahoma; FONT-SIZE: 11px;&quot;
> CanBeSelected=&quot;False&quot;><NODE
> Key=&quot;5&quot; Text=&quot;Basic
> Summary&quot; ToolTip=&quot;Basic Summary&quot;
> IsChecked=&quot;False&quot;
> Disabled=&quot;False&quot; />
> 
> I checked a link using SpySmith and it shows as text
> enclosed in a table
> cell tag <TD>:
> 
> Active Element: [TD], Index: [182] 
>  <TD title="Basic Summary" style="PADDING-RIGHT:
> 5px; PADDING-LEFT: 5px;
> FONT-SIZE: 11px; PADDING-BOTTOM: 3px; CURSOR: hand;
> PADDING-TOP: 3px;
> FONT-FAMI 
>  LY: Tahoma; TEXT-DECORATION: underline" noWrap
> width="100%">Basic
> Summary</TD>
> 
> I tried to get at the link using Watir, but the cell
> text shows as one long
> string for all links:
> 
> irb(main):044:0> ie.table(:id,
> 'StandardReportsTable')[1][1].text
> => "Standard Reports\r\nSummary
> Reports\r\nLoading...\r\n\r\n\r\nBasic
> Summary\r
> \nLoading...\r\n\r\n\r\n\r\nSummary by Sales
> Channel\r\nLoading...\r\n\r\n\r\n\r
> \nSummary by Price
> Level\r\nLoading...\r\n\r\n\r\n\r\nSummary by Ticket
> Type\r\n
> Loading...\r\n\r\n\r\n\r\n\r\nGeographical
> Reports\r\nLoading...\r\n\r\n\r\nSale
> s by Geographical
> Location\r\nLoading...\r\n\r\n\r\n\r\n\r\nSales by
> Day
> Reports
> \r\nLoading...\r\n\r\n\r\nSales by
> Day\r\nLoading...\r\n\r\n\r\n\r\nSales by
> Day
>  by Channel\r\nLoading...\r\n\r\n\r\n\r\nSales By
> Day By Price
> Level\r\nLoading.
> ..\r\n\r\n\r\n\r\nSales by Day by Ticket
> Type\r\nLoading...\r\n\r\n\r\n\r\n\r\nE
> vent Detail Reports\r\nLoading...\r\n\r\n\r\nEvent
> Detail\r\nLoading..."
> 
> 
> I am stumped. I can't seem to 'click' a link using
> Watir.
> 
> Does anyone have any advice? Is this even possible
> using Watir?
> 
> Thanks.
> 
> -sean
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


No Body Has ever Collided With The Sky...So Sky Is The Limit!


                
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to