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

2005-07-25 Thread Bret Pettichord
Take a look at WindowHelper.rb. At 01:03 AM 7/26/2005, Hue Mach Dieu wrote: Hi All, Could you please give me an example do the click OK button in popup dialog Thank for help! Hue ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyfor

RE: [Wtr-general] bug resolution

2005-07-25 Thread Bret Pettichord
At 01:15 AM 7/26/2005, [EMAIL PROTECTED] wrote: I don't know the code to spawn a new process in watir. http://wtr.rubyforge.org/wiki/wiki.pl?FrequentQuestions _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list W

RE: [Wtr-general] bug resolution

2005-07-25 Thread Jan.Montano
I don't know the code to spawn a new process in watir. sorry for the idiot question. -jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bret Pettichord Sent: Tuesday, July 26, 2005 1:59 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] bug resolu

[Wtr-general] Getting the data from the Openoffice

2005-07-25 Thread Sathya Shankar
Hi all, I have the datas that are to be used in my scripts in the open office . I want to get the Data values from the Open office is there any way for that or is there any API refrence for the same. Thanks for all help Sathya Shankar ___ Wtr-gene

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

2005-07-25 Thread Hue Mach Dieu
Hi All, Could you please give me an example do the click OK button in popup dialog Thank for help! Hue ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

2005-07-25 Thread Bret Pettichord
At 08:07 PM 7/25/2005, Hue Mach Dieu wrote: 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

Re: [Wtr-general] bug resolution

2005-07-25 Thread Bret Pettichord
At 07:24 PM 7/25/2005, [EMAIL PROTECTED] wrote: 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) No. Currently the best approach is to spawn a new process. and what's correct way of invoking WIN32OLE.ne

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 environment.

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 happeni

[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: Go

[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] 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 Regi

[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] Access is denied and Exception Errors

2005-07-25 Thread Tuyet Cong-Ton-Nu
Thanks, Bret for your suggestions.  Still some issues though…. Any suggestion is appreciated!   I used this command: irb(main):002:0> ie = Watir::IE.new irb(main):004:0* ie.goto("https://qa-b1.test.com/araneae/login") ð  8.547 ð    Which worked fine, but then I did this comma

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 = w.getShortF

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

2005-07-25 Thread Hue Mach Dieu
Hi All, My script for click on OK button on popup warning message dialog box, but it doesn't work ie.frame("rightframe").frame("search").button(:name, "Submit").click w = WinClicker.new w.clickWindowsButton("Microsoft Internet Explorer","OK") w.clickJavaScriptDialog("OK") Thank for help

Re: [Wtr-general] IE Tabstrip.htc control

2005-07-25 Thread Mike
Did this method work for the original poster?  It hasn't yet worked for me.  Has anyone successfully changed tabs on the ie tabstrip control?   Thanks, Mike At 06:44 PM 7/7/2005, Alexander, Kim (Kim) wrote:>However when the page is contained in the frame the ie.goto just times>out. Code I m using