[wtr-general] Re: Do we have Ruby Gem that works with FLASH components

2009-01-07 Thread kiran
I am using firefox with the url http://www.geocities.com/paulocaroli/flash/colors.html to test flash But i am getting the follwing error SeleniumCommandError: ERROR: Threw an exception: window.document.clickcolors has no properties D:/ruby/lib/ruby/site_ruby/1.8/selenium.rb:164:in

[wtr-general] Re: Watir Script Integration with javaCruiseControl - Testing Java App.

2009-01-07 Thread watirpuppy
As mentioned above, the watir test result data needs to be merged with/into the CruiseControl build log XML file. This gets configured in the CC config.xml file with the merge element - imagine that!.. (documented on the CC website). e.g. log merge dir=C:\blah/ /log

[wtr-general] Watir IE Memory Usage

2009-01-07 Thread AR
I've been having some issues with scripts that ask IE to visit a lot of URLs eventually killing IE and failing. In these instances, ruby.exe is sitting right around 30Mb of memory, Excel (used to import data) is around 5Mb, and IE works itself up from 100Mb to 1.5Gb. At it's most basic point, I

[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread Paul Rogers
ie has some real bad memory leaks, so the problem might be that IE leaks memory rather than a watir issue. In which case, do 400, and then restart IE ;-) in your sample code, all you seem to be doing is checking for some text - if thats all you are doing, then use something like net/http and

[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread Bret Pettichord
AR wrote: I tried another instance where I added the ie = Watir::IE.new and an ie.close to the function, but opening and closing IE for each url took up more memory. Try Watir::IE.new_process instead. This will open (and then close) a process each time, and therefore should avoid the

[wtr-general] Re: Watir IE Memory Usage

2009-01-07 Thread AR
On Jan 7, 4:14 pm, Bret Pettichord b...@pettichord.com wrote: Try Watir::IE.new_process instead. This will open (and then close) a process each time, and therefore should avoid the memory leak. The funny thing about this one is that I'm using $HIDE_IE=true, and now each new browser window

[wtr-general] Re: Capturing data within an xml

2009-01-07 Thread winstan
Hi Guys, Another question for you bunch as you seem to be the most helpful out there (have posted on the comp.lang.ruby group with no response). I have been trying to make requests to the webserver via SOAP adapting an example i had found on another site. Am i looking at the right thing for

[wtr-general] Re: overriding javascript

2009-01-07 Thread Tony
Hi Aidy, Got the error - The problem is the script disp_confirm is being called from a frame, and its this frames disp_confirm and window_confirm, that should be overridden. So this should be done on the page and also for all frames. (which is going to call your overridden function) require