Hi list
I launched my web application with an instance of IE
through irb. 
Browse to where I needed to delete an asset, the javascript
confirmation popup shows up on the screen, I then enter
w = WinClicker.new
handle = w.getWindowHandle("Microsoft Internet Explorer")
w.makeWindowActive(handle)
w.clickWindowsButton_hwnd(handle,"OK") 
line by line in irb and it closes the popup.

But when I have the it in my script as
   
  ...

  $ie.frame("cpmain").image(:src, /del.gif/).click
  w = WinClicker.new
  handle = w.getWindowHandle("Microsoft Internet Explorer")
  w.makeWindowActive(handle)
  w.clickWindowsButton_hwnd(handle,"OK")

somehow it doesn't work. Any idea or suggestion!

thanks



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to