hi, Thanks!! im getting this problem with HREF
1) Error: test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage): Watir::Exception::UnknownObjectException: Unable to locate object, using HREF and http://localhost:8080/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3 i also tried with href(lower case). but the error was same. im sending the HTML.. HTML :- <TD CLASS="RowLevel1" > <A BORDER="0" CLASS="Image" ONCLICK="javascript:toggleRows('m523');toggleImageSource('img2','themes/default/images/open- menu.gif','themes/default/images/closed-menu.gif')"><IMG ID="img2" SRC='themes/default/images/closed-menu.gif' ALT="" ALIGN="absmiddle"/></A> <A HREF=" http://localhost:8080/CASTAD/?treeobject=2&object=2&frame=FRAME_PORTAL_TOP_LEVEL_DETAILS&snapshot=3" onmouseover="javascript:ShowTooltip('Access detailed quality and quantity assessment page for the selected component.');" onmouseout="javascript:HideTooltip();" > sys_asp </A> </TD> <TD CLASS="Hide" > 'sys_asp' is variable link...it is user defined.. please help its very urgent Regards Shalini Gupta On 5/22/07, Željko Filipin <[EMAIL PROTECTED]> wrote:
On 5/22/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: > > I tried to this with "href" but its not working. Hi Shalini, What error message do you get when you use href? Can you post your Watir and Ruby code? There is lot of ways you can click a link. I recommend id. Jeff has made page at Watir wiki about it. See http://wiki.openqa.org/display/WTR/Methods+supported+by+Element Zeljko -- ZeljkoFilipin.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
