ie.button(:name, 'save').click

works fine with the page that you sent. If this doesn't work for your app, then there is something about your app that is different from the file you sent.

When you say it 'doesn't work', are you getting an error message? What is it?

Send your complete script.

Bret

At 12:48 AM 9/8/2005, Kim P. Hoy wrote:
I tried
ie.form(:action, "adm_sdrinfo.php").submit

but it did not work.

I also tried
  ie.button(:name, /save/).fire_event('onMouseDown')
  sleep 1
    ie.button(:name, /save/).fire_event('onMouseUp')
but it did not work neither.

--Kim


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bret Pettichord
Sent: Tuesday, September 06, 2005 11:02 PM
To: [email protected]
Subject: RE: [Wtr-general] Need help on button that can onlybeactivated
by mouse


It looks like a plain old button.

   <input type="image" src="/images/save.gif" name="save" align="right">

I dunno why click doesn't work.

You could try ie.form(:action, "adm_sdrinfo.php").submit as an alternative.
That should also work.

   <form method="post" accept-charset="utf-8" action="adm_sdrinfo.php">

Bret

At 12:25 AM 9/7/2005, Kim P. Hoy wrote:
>Thank you
>
>--Kim
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Bret Pettichord
>Sent: Tuesday, September 06, 2005 10:00 PM
>To: [email protected]
>Subject: Re: [Wtr-general] Need help on button that can only beactivated
>by mouse
>
>
>Send us the html for the button. I suspect it's being triggered by an event
>and you'll have to use
>    ie.button(:name, /save/).fire_event('foo')
>
>At 08:29 PM 9/6/2005, Kim P. Hoy wrote:
> >ie.button(:name,/save/).click could not cause the button to submit
> >I tried to use AutoIt to click on the button, but that did not work
neither
> >t_s() returned
> >name:  save
> >type:  image
> >id:
> >value:
> >
> >Any help is greatly appreciated.
> >Thank you
> >--Kim
>
>_____________________
>   Bret Pettichord
>   www.pettichord.com
>
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general
>
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general

_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to