Hi,

  is there somthing specail to do for executed this coad..........?
  i have install ruby & watir 1.4 on my system...?

  but this coad does not execut.

  plzzzz  help.........!!!!!!!!!!!!!

On 23/05/07, Grzesiek <[EMAIL PROTECTED]> wrote:

Hi,

I had also problems with it. I had to download autoitX3 tool.
Because there is a tool which identifies the instances of buttons and
without that actions did not work for me.

autoit.WinWaitActive("Save
As")                                                                            
  (catching
the popup)
autoit.ControlClick("Save As", "",
"[CLASS:Button;TEXT:&Save;INSTANCE:2]")           (pressing Save button)


autoit = WIN32OLE.new('AutoItX3.Control')
autoit.WinWaitActive("File")  #window name File Download
autoit.ControlClick("File","","[CLASS:Button;TEXT:&Save;INSTANCE:2]")   #
first popup is shown
autoit.WinWaitActive("Save As")
autoit.Send("file_name")
autoit.ControlClick("Save As", "", "[CLASS:Button;TEXT:&Save;INSTANCE:2]")
autoit.WinWaitActive("Download")
autoit.ControlClick("Download", "",
"[CLASS:Button;TEXT:&Open;INSTANCE:2]")


Hope this will helps

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




--
With Thanks and Regards,



Anand Vardhan Srivastava  | GlobalLogic India

The Leader in Global Product Development

B34/1, Sector-59,Noida ,201301

Phone: +91. 4342000 x 4285

Cell Number : +919811228992

Disclaimer: http://www.globallogic.com/email_disclaimer.txt
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to