Re: [Wtr-general] handling multiple IE

2007-05-24 Thread Željko Filipin
On 5/23/07, Jungwhan Kim <[EMAIL PROTECTED]> wrote: Is there any way to tell Watir to open a specific version of IE after multiple versions of IE is installed in a single machine? Jungwhan, As far as I know, the only way you can have multiple versions of IE installed on one machine is to ha

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Željko Filipin
On 5/24/07, Norm <[EMAIL PROTECTED]> wrote: What is the "trunk" version of watir? Hi Norm, Take a look at this. http://openqa.org/watir/cvs.action Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Norm
Arg, same thing on my other computer. Must be a bug in the version of watir I am using. Looking at CVS it looks like the ie-new-process has had a lot of changes... I guess I'll wait for the next gem to be released and try a new build, until then I'll have to live with the stray console windows I

[Wtr-general] want to enter URL manualy

2007-05-24 Thread SHALINI GUPTA
Hi all, I want to enter URL in address bar of my project manually.so i have tried this $ie=IE.new() $ie.wait() But previously it was working but now its not working. i have changed my watir version from 1.5.1127 to 1.5.1166 is it the problem?? Please help Thanks In advance!! Regards Shalini G

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-24 Thread Željko Filipin
On 5/24/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: ie.link(:after, ie.image(:id, 'foo')).click Bret, this does not work for me. Am I doing something wrong? Environment: cmd>ruby -v ruby 1.8.2 (2004-12-25) [i386-mswin32] irb> Watir::IE::VERSION => "1.5.1.1166" HTML: text IRB: irb(m

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Bret Pettichord
Norm wrote: > Arg, same thing on my other computer. Must be a bug in the version of watir I > am using. Looking at CVS it looks like the ie-new-process has had a lot of > changes... I guess I'll wait for the next gem to be released and try a new > build, until then I'll have to live with the str

Re: [Wtr-general] want to enter URL manualy

2007-05-24 Thread Charley Baker
Hi Shalini, There shouldn't be a need to use $ie.wait $ie = IE.new # creates a new browser window Now you can enter your url manually if you want. How is this not working? -Charley On 5/24/07, SHALINI GUPTA <[EMAIL PROTECTED]> wrote: Hi all, I want to enter URL in address bar of my proj

Re: [Wtr-general] Does anyone know how to capture an entire screenand compare with image?

2007-05-24 Thread Alan Baird
Adam- We are using a tool called imagemagick (www.imagemagick.com) to do our image comparison, very similar to the approach used in the presentation below (and it's free). We use imagemagick to compare a PDF report to a previously run version. This is extremely helpful for comparing reports in a

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-24 Thread Bret Pettichord
Željko Filipin wrote: > On 5/24/07, *Bret Pettichord* <[EMAIL PROTECTED] > > wrote: > > ie.link(:after, ie.image(:id, 'foo')).click > > > Bret, this does not work for me. Am I doing something wrong? My mistake. Try this instead. ie.link(:after?, ie.image(:id, 'fo

[Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bach Le
I've installed watir 1165 and tried using IE.new_process on Windows Vista and in both tests and irb, IE.new_process fails. It fails after creating the window when it tries to get the process id from hwnd. I have a coworker who installed this on his Vista machine and it works fine. The proble

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bret Pettichord
Bach Le wrote: > I've installed watir 1165 and tried using IE.new_process on Windows Vista and > in both tests and irb, IE.new_process fails. It fails after creating the > window when it tries to get the process id from hwnd. > > I have a coworker who installed this on his Vista machine and it w

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bach Le
Bret, the problem actually exists for IE.new as well. I create a new IE window with IE.new and it creates the window but when I call the goto method to navigate to any page, a new IE window shows up and the navigation is done in that window. I've updated the ticket to include this information.

[Wtr-general] I do not know how to handle the 'File Download' dialog box with Watir

2007-05-24 Thread vijay
Hello people, In our application, there is a button named 'Export', which when clicked would give a 'File Download' dialog box with three options, Open, Save and Cancel. I am able to click these buttons with the 'clickWindowsButton' command (for ex. 'clickWindowsButton ('File Download','Save')

[Wtr-general] watir, rspec, screen shots

2007-05-24 Thread Chris McMahon
Aslak Hellesoy's been working with Watir: http://blog.aslakhellesoy.com/2006/12/2/getting-screenshots-from-watir ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bret Pettichord
Bach Le wrote: > Bret, the problem actually exists for IE.new as well. I create a new IE > window with IE.new and it creates the window but when I call the goto method > to navigate to any page, a new IE window shows up and the navigation is done > in that window. > Can you show me your code?

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Norm
Bret, I was simply thinking of upgrading because changes were made, and you said it was working for you on the CVS "trunk" build, I didn't go line by line or anything and try to see if there was a change that I thought would fix the issue. I have tried running ruby from the command line, same p

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Norm
Weird, this is working now: require 'rubygems' require_gem 'watir' require 'win32ole' require 'watir/contrib/ie-new-process' So I guess that's 1 problem solved. Now I can try installing a different version of watir to see if my problem with ie-new-process and rubyw goes away...

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bret Pettichord
Bach Le wrote: > Bret, the problem actually exists for IE.new as well. I create a new IE > window with IE.new and it creates the window but when I call the goto method > to navigate to any page, a new IE window shows up and the navigation is done > in that window. > > > I've updated the ticket t

Re: [Wtr-general] Seg-faults with >4 ie windows (hello)

2007-05-24 Thread Michael Sofaer
Thanks for looking at this, Bret. I tried running the script you included on my machine, it hangs at around 33 windows, but doesn't crash. Here is the stack trace from the interrupt, for what it's worth: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir/contrib/ie-new-p rocess.rb:44:in `win

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Norm
Nope. I upgraded to 1.5.1.1166 and when I change the .rb file extension to use rubyw.exe instead of ruby.exe it still fails: "c:\ruby\bin\ruby.exe" "%1" %* to "c:\ruby\bin\rubyw.exe" "%1" %* What happens is that after it opens the browser (using ie

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Bret Pettichord
Norm wrote: > Does it have something to do with the fact that ie-new-process puts the > process id to stdout? Maybe that is what is crashing it when running under > rubyw.exe? > I recently changed the code in trunk to stop printing the process id, so that might explain something... I'm havin

Re: [Wtr-general] ie-new-process and rubyw.exe? bug?

2007-05-24 Thread Norm
np Bret, the thread turned into (2) different issues, so it got a little hairy. The 2nd problem that I was talking about, in respect to running scripts outside of the watir directory, is fixed. Problem solved. The 1st problem, and the problem I started this thread for, is still on-going. Here i

[Wtr-general] Watir Development Gem 1.5.1.1192 Released

2007-05-24 Thread Bret Pettichord
A new gem is ready for download. This is the latest pull from Subversion trunk, tagged at 1.5.1.1192. This gem has a new install process, due to a new dependency on other gems. http://wiki.openqa.org/display/WTR/Development+Builds After downloading the gem, execute the following commands in t

Re: [Wtr-general] RDOC - Help determining what needs documentation

2007-05-24 Thread Jeff Fry
Hey y'all, I'm resending these in the hopes of getting info from folks who know what watir actually does better than I do. If you are up for updating the wiki chart, great...but if you just want to email me some corrections, that'd be totally fine too. I'll happily update the chart. Jeff Fry w

Re: [Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

2007-05-24 Thread SHALINI GUPTA
Thanks !! it works On 5/24/07, Bret Pettichord <[EMAIL PROTECTED]> wrote: Željko Filipin wrote: > On 5/24/07, *Bret Pettichord* <[EMAIL PROTECTED] > > wrote: > > ie.link(:after, ie.image(:id, 'foo')).click > > > Bret, this does not work for me. Am I doing somethin

Re: [Wtr-general] want to enter URL manualy

2007-05-24 Thread SHALINI GUPTA
hi, it just start ruby.exe and with in a second it ends. and gives this error 1) Error: test_ADGDashboard_Homepage(TC_CAST_ADGDashboard_Homepage): Watir::Exception::UnknownObjectException: Unable to locate object, using name and Login c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./wa

Re: [Wtr-general] Watir Development Gem 1.5.1.1192 Released

2007-05-24 Thread Norm
Awesome, I will try this tomorrow to see if it resolves my problem with ie-new-process and rubyw.exe I outlined in the following post: http://forums.openqa.org/thread.jspa?threadID=8174&tstart=0 ___ Wtr-general mailing list Wtr-general@rubyforge.org htt