<SPAN><A title="Add, edit, and delete folders." href="/Tele-Works/Folders/ ManageFolders.aspx">Manage Folders</A></SPAN>
I see your span element includes anchor. I would think you want to send the click to that anchor instead of span browser.link(:text, "Manage Folders").click marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Fri, May 8, 2009 at 4:11 PM, satish <spanchumar...@gmail.com> wrote: > > Hello guys, please help me with this. > My HTML looks like this... > I tried "ie.span(:text, "Manage Folders").click" but link does not go > to desired page. > When I use flash on this("ie.span(:text, "Manage Folders").flash") it > actually flashes the exact "Manage Folders" text. > > puts ie.div(:id,'divSiteMapControl').innerText command give me this.. > "puts ie.div(:id,'divSiteMapControl').innerText" = "Sitemap: Homepage| > Administration|Manage Folders|New Folder" > > I want to click on the "Manage Folders" text link here and it should > go to desired location. > ================================================================= > Active Element: [TD], Index: [378] > <TD class=dxrp id=ctl00_rndPanSiteMap_RPC style="PADDING-RIGHT: 2px; > PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; VERTICAL-ALIGN: top; WIDTH: > 100%; PADDING-TOP: 9px; BACKGROUND-COLOR: #f7f7f7"> > <DIV class=SitemapControlDiv id=divSiteMapControl> > <NOBR>Sitemap: > <SPAN class=SitemapControlSpan id=spanSiteMapControlSpan> > <SPAN id=ctl00_rndPanSiteMap_siteMapPathMain> > <A href="#ctl00_rndPanSiteMap_siteMapPathMain_SkipLink"> > <IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER- > BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=0 alt="Skip > Navigation Links" src="/Tele-Works/WebResource.axd? > d=cAb5NMJ5q4BLbiZtXy8MEw2 > &t=633735712698867038" width=0></A> > <SPAN> > <A title="Tele-Works administration console homepage." href="/Tele- > Works/Homepage.aspx">Homepage</A></SPAN> > <SPAN class=SitemapPathSeparator>|</SPAN> > <SPAN> > <A title="Administration homepage." href="/Tele-Works/ > AdminHome.aspx">Administration</A></SPAN> > <SPAN class=SitemapPathSeparator>|</SPAN> > <SPAN> > <A title="Add, edit, and delete folders." href="/Tele-Works/Folders/ > ManageFolders.aspx">Manage Folders</A></SPAN> > <SPAN class=SitemapPathSeparator>|</SPAN> > <SPAN> > <A title="Specify folder details." href="/Tele-Works/Folders/ > FolderDetails.aspx">New Folder</A></SPAN> > <A id=ctl00_rndPanSiteMap_siteMapPathMain_SkipLink></A></SPAN></ > SPAN></NOBR> </DIV></TD> > ================================================================================ > > Appreciate your help. > > Thank you, > Satish > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---