Thanks Mittie,
I have tried with this before also but it was NOT working, now this time i used signle quotes instead of double quotes for image name, and it started working.
 
Thanks again.
 


 
On 7/12/06, Dierk Koenig <[EMAIL PROTECTED]> wrote:
in this simple case, even
 <clickLink label="btncart.gif" />
is possible.
 
Mittie
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]On Behalf Of amol kashetwar
Sent: Mittwoch, 12. Juli 2006 13:36
To: [email protected]
Subject: Re: [Webtest] How to click button

Hi Colin,
 
Follwing is the code for button as displayed in view source of the web page. 
 
Code:
 
<div class="clearer">
                    &nbsp;
                </div>
             <div id="newbtns">
                    <div id="firstnewbtn"><A href="" URL>/o9akDujq22FI1sXqSnhU/1.0.0.9.13.1.3.1.10"> <img border="0" alt="btncart.gif" src="" href="http://a248.e.akamai.net/7/248/2041/1072/store.apple.com/Catalog/US/Images/ips_btnaddtocart.gif" target="_blank"> URL>/btncart.gif " align="bottom"></a></div>
 
<url> is the manipulated.
 
Thanks,
 
 
 
On 7/12/06, Colin O'Brien <[EMAIL PROTECTED] > wrote:

Hi Amol,

 

Can you view the source of the page you're trying to work on and send the a sample where the button is, it should be possible to give you an example for clickButton then…

 

Regards,

Colin.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of amol kashetwar
Sent: 12 July 2006 12:10
To: [email protected]
Subject: Re: [Webtest] How to click button

 

Hi Colin,

 

Thanks for information

I tried aroud it, but could NOT get solution.

Please could you send some example how to use it with clickLink or clickButton.

 

On 7/12/06, Colin O'Brien < [EMAIL PROTECTED]> wrote:

Hi Amol,

 

The <clickButton/> step now supports xpath. You should be able to address the button using xpath if all the usual attributes are missing

 

Click Button Manual page:

http://webtest.canoo.com/webtest/manual/clickButton.html

 

Regards,

Colin.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of amol kashetwar
Sent: 12 July 2006 07:40
To: [email protected]
Subject: [Webtest] How to click button

 

Hi,

I want to click on button which is NOT having any name, label, Id field set. It is having href which is in session. Please could any body help me to write a code to click such type of button entity using canoo webtest.

 

Thanks,

 

 



Reply via email to