[Webtest] How to pass through a page having ClickLink Label with JS function in it

lokesh lokesh <lokesh7702@yahoo.com>
Tue, 8 Nov 2011 07:04:49 -0800 (PST)


---1411518567-1697503449-1320764689=:8651
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,=0A=0AI am not able to proceed further from the page having following co=
de.I tried : <clickLink label=3D"CONTINUE" />=0A=0ACode:=0A<div=A0class=3D"=
sq-red-btn-right">=0A<a=A0onclick=3D"javascript:nextSubmit("mainForm"); ret=
urn form_submit("mainForm")"=A0href=3D"#">CONTINUE</a>=0A</div>=0A=0AI trie=
d giving xpath values but it did not work either. Please help me with your =
valuable suggestions.=0A=0AThanks,=0ALokesh
---1411518567-1697503449-1320764689=:8651
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><b=
r></div><div>I am not able to proceed further from the page having followin=
g code.I tried : &lt;clickLink label=3D"CONTINUE" /&gt;</div><div><br></div=
><div>Code:</div><div><span role=3D"treeitem" class=3D"nodeLabelBox repTarg=
et ">&lt;<span class=3D"nodeTag ">div</span><span class=3D"nodeAttr editGro=
up ">&nbsp;<span class=3D"nodeName editable ">class</span>=3D"<span class=
=3D"nodeValue editable ">sq-red-btn-right</span>"</span><span class=3D"node=
Bracket editable insertBefore ">&gt;</span></span></div><div role=3D"group"=
 class=3D"nodeChildBox "><div role=3D"presentation" class=3D"nodeBox textNo=
deBox selected "><div role=3D"presentation" class=3D"nodeLabel "><span role=
=3D"treeitem" class=3D"nodeLabelBox repTarget ">&lt;<span class=3D"nodeTag =
">a</span><span class=3D"nodeAttr editGroup ">&nbsp;<span class=3D"nodeName=
 editable ">onclick</span>=3D"<span
 class=3D"nodeValue editable ">javascript:nextSubmit("mainForm"); return fo=
rm_submit("mainForm")</span>"</span><span class=3D"nodeAttr editGroup ">&nb=
sp;<span class=3D"nodeName editable ">href</span>=3D"<span class=3D"nodeVal=
ue editable ">#</span>"</span><span class=3D"nodeBracket editable insertBef=
ore ">&gt;</span><span class=3D"nodeText editable "><span class=3D"  ">CONT=
INUE</span></span>&lt;/<span class=3D"nodeTag ">a</span>&gt;</span></div></=
div></div><div role=3D"presentation" class=3D"nodeCloseLabel "><span class=
=3D"nodeCloseLabelBox repTarget ">&lt;/<span class=3D"nodeTag ">div</span>&=
gt;<br><br>I tried giving xpath values but it did not work either. Please h=
elp me with your valuable suggestions.<br><br>Thanks,<br>Lokesh<br></span><=
/div><div><br></div></div></body></html>
---1411518567-1697503449-1320764689=:8651--