RE: [Wtr-general] Click OK button on Popup Dialog?

2005-07-25 Thread Cain, Mark
Hue, you have to start the WinClicker BEFORE you click the button that produces the popup. I have a function (right out of the unittests) #Popup clicker def startClicker( button , waitTime = 3) w = WinClicker.new longName = $ie.dir.gsub(/ , \\ ) shortName =

[Wtr-general] Access is denied and Exception Errors

2005-07-25 Thread Tuyet Cong-Ton-Nu
I checked with the engineer that knows the hardware/software configuration of this application and forwarded him your take on why the error is generated, and here is his answer: I don't think this is the case. All the requests are being processed from one domain. I think the microsoft

[Wtr-general] bug resolution

2005-07-25 Thread Jan.Montano
http://rubyforge.org/pipermail/wtr-general/2005-June/002240.html will this bug be fixed with the new release of watir? (pls see link above) and what's correct way of invoking WIN32OLE.new('Shell.Application') with internet explorer in Watir? Thanks! Jan M. Montano QA Lead / Developer

[Wtr-general] RE: Click OK button on Popup Dialog?

2005-07-25 Thread Hue Mach Dieu
Hi I define click popup method like this: $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'watir' require 'watir/WinClicker' include Watir def startClicker( button , waitTime = 0.5) w = WinClicker.new longName = $ie.dir.gsub(/ , \\ )

[Wtr-general] can't run googlesearch.rb successfully

2005-07-25 Thread Jan.Montano
Hi! I've installed ruby and watir (latest releases) on another terminal. However, When i run googlesearch.rb this error pops out. What's with this error? and why does this happen now? I have no problem with watir on my original terminal. Thank you. ruby googleSearch.rb ## Beginning of test:

Re: [Wtr-general] Access is denied and Exception Errors

2005-07-25 Thread Bret Pettichord
At 05:06 PM 7/25/2005, Tuyet Cong-Ton-Nu wrote: irb(main):005:0 ie.frame(main).text_field(:name, UserId).fire_event(onFocus ) try ie.text_field(:name, 'UserId).fire_event('onFocus') Watir won't work with frames served by different servers. I'm giving you a way to keep that from happening.

Re: [Wtr-general] Access is denied and Exception Errors

2005-07-25 Thread Bret Pettichord
if one frame is hosted by web1.company.com and the other is hosted by web2.company.com, you will run into a cross-site scripting limitation and get an access is denied error. load-balancing will do this. your engineer's response does not explain why you only see the problem on one