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

lokesh lokesh <lokesh7702@yahoo.com>
Tue, 8 Nov 2011 08:50:29 -0800 (PST)


---1411518567-1140971665-1320771029=:6849
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Michael,=0A=C2=A0=0AI tried the following:=0A=C2=A0=0A1. <clickElement x=
path=3D"/html/body/div/div/div[1]/div/div/div/div/div/form/div[2]/fieldset/=
div[3]/div/div/div/a"/> and=0A2. <clickElement htmlID=3D"Continue"/>=0A=C2=
=A0=0ABoth did not work. I am not able to continue to the next page.=0A=C2=
=A0=0AThanks,=0ALokesh=0A=C2=A0=0A=0A=0A________________________________=0A=
From: Michael Zwick <Michael.Zwick@genedata.com>=0ATo: "webtest@lists.canoo=
.com" <webtest@lists.canoo.com>; lokesh <lokesh7702@yahoo.com>=0ASent: Tues=
day, November 8, 2011 9:34 PM=0ASubject: RE: [Webtest] How to pass through =
a page having ClickLink Label with JS function in it=0A=0A=0A =0AHave you t=
ried <clickElement =E2=80=A6/>? =0ASee=0Ahttp://webtest.canoo.com/webtest/m=
anual/clickElement.html =0A=C2=A0 =0AMichael =0A=C2=A0 =0AFrom:webtest-admi=
n@lists.canoo.com [mailto:webtest-admin@lists.canoo.com] On Behalf Of lokes=
h=0ASent: Tuesday, November 08, 2011 4:05 PM=0ATo: webtest@lists.canoo.com=
=0ASubject: [Webtest] How to pass through a page having ClickLink Label wit=
h JS function in it   =0A=C2=A0 =0AHi,  =0A=C2=A0  =0AI am not able to proc=
eed further from the page having following code.I tried : <clickLink label=
=3D"CONTINUE" />  =0A=C2=A0  =0ACode:  =0A<div=C2=A0class=3D"sq-red-btn-rig=
ht">  =0A<a=C2=A0onclick=3D"javascript:nextSubmit("mainForm"); return form_=
submit("mainForm")"=C2=A0href=3D"#">CONTINUE</a>    =0A</div>=0A=0AI tried =
giving xpath values but it did not work either. Please help me with your va=
luable suggestions.=0A=0AThanks,=0ALokesh  
---1411518567-1140971665-1320771029=:6849
Content-Type: text/html; charset=utf-8
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><span>Hi Michael=
,</span></div><div><span></span>&nbsp;</div><div><span>I tried the followin=
g:</span></div><div><span></span>&nbsp;</div><div><span>1. &lt;clickElement=
 xpath=3D"/html/body/div/div/div[1]/div/div/div/div/div/form/div[2]/fieldse=
t/div[3]/div/div/div/a"/&gt; and</span></div><div><span>2. &lt;clickElement=
 htmlID=3D"Continue"/&gt;</span></div><div><span></span>&nbsp;</div><div><s=
pan>Both did not work. I am not able to continue to the next page.</span></=
div><div><span></span>&nbsp;</div><div><span>Thanks,</span></div><div><span=
>Lokesh</span></div><div><span></span>&nbsp;</div><div><br></div><div style=
=3D"font-family: times new roman, new york, times, serif; font-size: 12pt;"=
><div style=3D"font-family: times new roman, new york, times, serif; font-s=
ize: 12pt;"><font size=3D"2" face=3D"Arial"><div style=3D"margin: 5px 0px; =
padding:
 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; fo=
nt-size: 0px;" class=3D"hr" contentEditable=3D"false" readonly=3D"true"></d=
iv><b><span style=3D"font-weight: bold;">From:</span></b> Michael Zwick &lt=
;Michael.Zwick@genedata.com&gt;<br><b><span style=3D"font-weight: bold;">To=
:</span></b> "webtest@lists.canoo.com" &lt;webtest@lists.canoo.com&gt;; lok=
esh &lt;lokesh7702@yahoo.com&gt;<br><b><span style=3D"font-weight: bold;">S=
ent:</span></b> Tuesday, November 8, 2011 9:34 PM<br><b><span style=3D"font=
-weight: bold;">Subject:</span></b> RE: [Webtest] How to pass through a pag=
e having ClickLink Label with JS function in it<br></font><br>=0A<div id=3D=
"yiv1908442285">=0A=0A =0A =0A<style><!--=0A#yiv1908442285  =0A _filtered #=
yiv1908442285 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}=0A=
 _filtered #yiv1908442285 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 =
4;}=0A _filtered #yiv1908442285 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4=
 4 2 4;}=0A#yiv1908442285  =0A#yiv1908442285 p.yiv1908442285MsoNormal, #yiv=
1908442285 li.yiv1908442285MsoNormal, #yiv1908442285 div.yiv1908442285MsoNo=
rmal=0A=09{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"s=
erif";}=0A#yiv1908442285 a:link, #yiv1908442285 span.yiv1908442285MsoHyperl=
ink=0A=09{color:blue;text-decoration:underline;}=0A#yiv1908442285 a:visited=
, #yiv1908442285 span.yiv1908442285MsoHyperlinkFollowed=0A=09{color:purple;=
text-decoration:underline;}=0A#yiv1908442285 span.yiv1908442285nodelabelbox=
=0A=09{}=0A#yiv1908442285 span.yiv1908442285nodetag=0A=09{}=0A#yiv190844228=
5 span.yiv1908442285nodeattr=0A=09{}=0A#yiv1908442285 span.yiv1908442285nod=
ename=0A=09{}=0A#yiv1908442285 span.yiv1908442285nodevalue=0A=09{}=0A#yiv19=
08442285 span.yiv1908442285nodebracket=0A=09{}=0A#yiv1908442285 span.yiv190=
8442285nodetext=0A=09{}=0A#yiv1908442285 span.yiv1908442285nodecloselabelbo=
x=0A=09{}=0A#yiv1908442285 span.yiv1908442285EmailStyle25=0A=09{font-family=
:"sans-serif";color:#1F497D;}=0A#yiv1908442285 .yiv1908442285MsoChpDefault=
=0A=09{font-size:10.0pt;}=0A _filtered #yiv1908442285 {margin:1.0in 1.0in 1=
.0in 1.0in;}=0A#yiv1908442285 div.yiv1908442285WordSection1=0A=09{}=0A--></=
style>=0A=0A<div>=0A<div class=3D"yiv1908442285WordSection1">=0A<div class=
=3D"yiv1908442285MsoNormal"><span style=3D"color: rgb(31, 73, 125); font-si=
ze: 11pt;">Have you tried &lt;clickElement =E2=80=A6/&gt;?</span></div> =0A=
<div class=3D"yiv1908442285MsoNormal"><span style=3D"color: rgb(31, 73, 125=
); font-size: 11pt;">See=0Ahttp://webtest.canoo.com/webtest/manual/clickEle=
ment.html</span></div> =0A<div class=3D"yiv1908442285MsoNormal"><span style=
=3D"color: rgb(31, 73, 125); font-size: 11pt;"> &nbsp;</span></div> =0A<div=
 class=3D"yiv1908442285MsoNormal"><span style=3D"color: rgb(31, 73, 125); f=
ont-size: 11pt;">Michael</span></div> =0A<div class=3D"yiv1908442285MsoNorm=
al"><span style=3D"color: rgb(31, 73, 125); font-size: 11pt;"> &nbsp;</span=
></div> =0A<div>=0A<div style=3D"border-width: 1pt medium medium; border-st=
yle: solid none none; border-color: rgb(181, 196, 223) currentColor current=
Color; padding: 3pt 0in 0in;">=0A<div class=3D"yiv1908442285MsoNormal"><b><=
span style=3D"font-size: 10pt;">From:</span></b><span style=3D"font-size: 1=
0pt;"> webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]=
=0A<b>On Behalf Of </b>lokesh<br>=0A<b>Sent:</b> Tuesday, November 08, 2011=
 4:05 PM<br>=0A<b>To:</b> webtest@lists.canoo.com<br>=0A<b>Subject:</b> [We=
btest] How to pass through a page having ClickLink Label with JS function i=
n it</span></div> =0A</div>=0A</div>=0A<div class=3D"yiv1908442285MsoNormal=
"> &nbsp;</div> =0A<div>=0A<div>=0A<div style=3D"background: white;" class=
=3D"yiv1908442285MsoNormal"><span style=3D"color: black;">Hi,</span></div> =
=0A</div>=0A<div>=0A<div style=3D"background: white;" class=3D"yiv190844228=
5MsoNormal"><span style=3D"color: black;"> &nbsp;</span></div> =0A</div>=0A=
<div>=0A<div style=3D"background: white;" class=3D"yiv1908442285MsoNormal">=
<span style=3D"color: black;">I am not able to proceed further from the pag=
e having following code.I tried : &lt;clickLink label=3D"CONTINUE" /&gt;</s=
pan></div> =0A</div>=0A<div>=0A<div style=3D"background: white;" class=3D"y=
iv1908442285MsoNormal"><span style=3D"color: black;"> &nbsp;</span></div> =
=0A</div>=0A<div>=0A<div style=3D"background: white;" class=3D"yiv190844228=
5MsoNormal"><span style=3D"color: black;">Code:</span></div> =0A</div>=0A<d=
iv>=0A<div style=3D"background: white;" class=3D"yiv1908442285MsoNormal"><s=
pan class=3D"yiv1908442285nodelabelbox"><span style=3D"color: black;">&lt;<=
/span></span><span class=3D"yiv1908442285nodetag"><span style=3D"color: bla=
ck;">div</span></span><span class=3D"yiv1908442285nodeattr"><span style=3D"=
color: black;">&nbsp;</span></span><span class=3D"yiv1908442285nodename"><s=
pan style=3D"color: black;">class</span></span><span class=3D"yiv1908442285=
nodeattr"><span style=3D"color: black;">=3D"</span></span><span class=3D"yi=
v1908442285nodevalue"><span style=3D"color: black;">sq-red-btn-right</span>=
</span><span class=3D"yiv1908442285nodeattr"><span style=3D"color: black;">=
"</span></span><span class=3D"yiv1908442285nodebracket"><span style=3D"colo=
r: black;">&gt;</span></span><span style=3D"color: black;"></span></div> =
=0A</div>=0A<div>=0A<div>=0A<div>=0A<div style=3D"background: white;" class=
=3D"yiv1908442285MsoNormal"><span class=3D"yiv1908442285nodelabelbox"><span=
 style=3D"color: black;">&lt;</span></span><span class=3D"yiv1908442285node=
tag"><span style=3D"color: black;">a</span></span><span class=3D"yiv1908442=
285nodeattr"><span style=3D"color: black;">&nbsp;</span></span><span class=
=3D"yiv1908442285nodename"><span style=3D"color: black;">onclick</span></sp=
an><span class=3D"yiv1908442285nodeattr"><span style=3D"color: black;">=3D"=
</span></span><span class=3D"yiv1908442285nodevalue"><span style=3D"color: =
black;">javascript:nextSubmit("mainForm");=0A return form_submit("mainForm"=
)</span></span><span class=3D"yiv1908442285nodeattr"><span style=3D"color: =
black;">"&nbsp;</span></span><span class=3D"yiv1908442285nodename"><span st=
yle=3D"color: black;">href</span></span><span class=3D"yiv1908442285nodeatt=
r"><span style=3D"color: black;">=3D"</span></span><span class=3D"yiv190844=
2285nodevalue"><span style=3D"color: black;">#</span></span><span class=3D"=
yiv1908442285nodeattr"><span style=3D"color: black;">"</span></span><span c=
lass=3D"yiv1908442285nodebracket"><span style=3D"color: black;">&gt;</span>=
</span><span class=3D"yiv1908442285nodetext"><span style=3D"color: black;">=
CONTINUE</span></span><span class=3D"yiv1908442285nodelabelbox"><span style=
=3D"color: black;">&lt;/</span></span><span class=3D"yiv1908442285nodetag">=
<span style=3D"color: black;">a</span></span><span class=3D"yiv1908442285no=
delabelbox"><span style=3D"color: black;">&gt;</span></span><span style=3D"=
color: black;"></span></div> =0A</div>=0A</div>=0A</div>=0A<div>=0A<div sty=
le=3D"background: white;" class=3D"yiv1908442285MsoNormal"><span class=3D"y=
iv1908442285nodecloselabelbox"><span style=3D"color: black;">&lt;/</span></=
span><span class=3D"yiv1908442285nodetag"><span style=3D"color: black;">div=
</span></span><span class=3D"yiv1908442285nodecloselabelbox"><span style=3D=
"color: black;">&gt;</span></span><span style=3D"color: black;"><br>=0A<br>=
=0A<span class=3D"yiv1908442285nodecloselabelbox">I tried giving xpath valu=
es but it did not work either. Please help me with your valuable suggestion=
s.</span><br>=0A<br>=0A<span class=3D"yiv1908442285nodecloselabelbox">Thank=
s,</span><br>=0A<span class=3D"yiv1908442285nodecloselabelbox">Lokesh</span=
></span></div> =0A</div>=0A<div>=0A<div style=3D"background: white;" class=
=3D"yiv1908442285MsoNormal"><span style=3D"color: black;"> &nbsp;</span></d=
iv> =0A</div>=0A</div>=0A</div>=0A</div>=0A=0A</div><br><br></div></div></d=
iv></body></html>
---1411518567-1140971665-1320771029=:6849--