try this <clickLink xpath="//table/tbody/tr[5]/td[2]/a/span[2]"/>
Hitesh On Fri, Jan 2, 2009 at 4:01 PM, Karan Rana, Noida <kar...@hcl.in> wrote: > Hello everyone, > > We have seen that the LogIn TO is being recognized by certain other > tools. > But couldn't figure out what fancy thing that this LogIn has which > doesn't allow the WebTest to execute method(s) available in its > tag-library. > I have also tried it like <clickLink > id="Login:LoginScreen:LoginDV:submit"/>. We have also tried in random > other tags like:- > clickButton;clickElement > > No success so far. > > Any inputs which allow us to further proceed on this TO is greatly > appreciated. > > Thanks & Regards, > Karan > > > > -----Original Message----- > From: webtest-ad...@lists.canoo.com > [mailto:webtest-ad...@lists.canoo.com] On Behalf Of Hariram V > (ETS-IV&VS) > Sent: Tuesday, December 30, 2008 10:53 AM > To: webtest@lists.canoo.com > Subject: [Webtest] Problem in recognizing 'Log In' button > Importance: High > > > Hello, > > Below is the part of HTML code where I am unable to recognize the 'Log > In' button.(Attached is the entire HTML file for reference). > > Appreciate if someone can help me on this... > > Thanks > Hari > > ------------------------------------------------------------------------ > ------------------------------------------------- > <TR> > <TD colSpan=2><IMG height=1 src="ClaimCenter_files/trans_pixel.gif" > width=4 border=0></TD> > <TD><A onmouseup="if(window.DHTML) {DHTML.buttonRelease(this)}" > class=button onmousedown="if(window.DHTML) > {DHTML.buttonPress(this)}" > id=Login:LoginScreen:LoginDV:submit > onblur=EventHandlers.onBlur(event) > onmouseleave="if(window.DHTML) {DHTML.buttonLeave(this)}" > onfocus=EventHandlers.onFocus(event) > > onclick="if(!this.disabled){Events.invokeEvent('Login:LoginScreen:LoginD > V:submit_act', true);}event.cancelBubble = true;; > EventHandlers.clickHandler(event, true)" > onmouseenter="if(window.DHTML) {DHTML.buttonEnter(this)}" > href="javascript:void(0)" isDefault="true" > onrecordclick="Recorder.recordLogin()"><SPAN > class=button_left></SPAN><SPAN class=button_link>Log > In</SPAN><SPAN > > class=button_right></SPAN></A></TD></TR></TD></TR></TBODY></TABLE></SPAN > > > <DIV class=dv_bottom><SPAN class=dv_bottom_left></SPAN><SPAN > class=dv_bottom_right></SPAN></DIV></DIV></DIV></DIV></DIV></FORM> > <SCRIPT>registerKeyShortcut('/', > "DHTML.getElementById('Quickjump').focus();", null); stepId = 'Login'; > ------------------------------------------------------------------------ > --------------------------------------------------- > > > DISCLAIMER: > ------------------------------------------------------------------------ > ----------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily > reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, > modification, distribution and / or publication of > this message without the prior written consent of the author of this > e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ------------------------------------------------------------------------ > ----------------------------------------------- > _______________________________________________ > WebTest mailing list > WebTest@lists.canoo.com > http://lists.canoo.com/mailman/listinfo/webtest >