[Wtr-general] IE7 and Popups

Cain, Mark Mark_Cain at RL.gov
Tue Jul 25 12:45:23 EDT 2006


I have recently started having to regression test all our web
applications using IE7 beta3.  Most everything seems to work except
pop-ups (Confirms, Alerts, and Prompts).  This part of my scripts has
worked well using the latest IE6 version, but does not seem to work in
IE7.  Anyone else seeing this?  Or things like this?

 

Here is the method I am using:

  def startClicker( button , waitTime = 0.5)

    w = WinClicker.new

    longName = $ie.dir.gsub("/" , "\\" )

    shortName = w.getShortFileName(longName)

    c = "start rubyw #{shortName }\\watir\\clickJSDialog.rb #{button }
#{ waitTime} "

    puts "Starting #{c}"

    w.winsystem(c )   

    w=nil

 end

 

Thanks,

____________________
Mark L. Cain
LMIT - E*STARS(r) ~ Lead Test Engineer 
1981 Snyder, MSIN: G3-62, Richland, WA 99354
Mark_Cain at RL.gov
509.376.5458
"640 Kilobytes of computer memory ought to be enough for anybody." -
Bill Gates, 1981 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060725/154bee31/attachment.html 


More information about the Wtr-general mailing list