Re: How to pass through a page having ClickLink Label with JS function in it

lokesh <lokesh7702-/[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
Hi Michael,
 
I tried the following:
 
1. <clickElement xpath="/html/body/div/div/div[1]/div/div/div/div/div/form/div[2]/fieldset/div[3]/div/div/div/a"/> and
2. <clickElement htmlID="Continue"/>
 
Both did not work. I am not able to continue to the next page.
 
Thanks,
Lokesh
 


________________________________
From: Michael Zwick <Michael.Zwick-/TvygBFiTMdWk0Htik3J/[email protected]>
To: "[email protected]" <[email protected]>; lokesh <lokesh7702-/[email protected]>
Sent: Tuesday, November 8, 2011 9:34 PM
Subject: RE: [Webtest] How to pass through a page having ClickLink Label with JS function in it


 
Have you tried <clickElement …/>? 
See
http://webtest.canoo.com/webtest/manual/clickElement.html 
  
Michael 
  
From:[email protected] [mailto:[email protected]] On Behalf Of lokesh
Sent: Tuesday, November 08, 2011 4:05 PM
To: [email protected]
Subject: [Webtest] How to pass through a page having ClickLink Label with JS function in it   
  
Hi,  
   
I am not able to proceed further from the page having following code.I tried : <clickLink label="CONTINUE" />  
   
Code:  
<div class="sq-red-btn-right">  
<a onclick="javascript:nextSubmit("mainForm"); return form_submit("mainForm")" href="#">CONTINUE</a>    
</div>

I tried giving xpath values but it did not work either. Please help me with your valuable suggestions.

Thanks,
Lokesh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.