Re: [Wtr-general] How to check for the presence of a frame in a page?

2007-05-24 Thread Ameya
you can try and use ie.showframes this will display the names of all frames on the page. If this doesnt work , then add the site url that has frames to the trusted sites in the IE internet options - Security and then try ie.showframes again. all da best :)

Re: [Wtr-general] Why it is always failed?

2007-05-24 Thread Željko Filipin
On 5/23/07, Kui Zhang [EMAIL PROTECTED] wrote: Got it. Thanks Zeljko! You are welcome. But, actually Paul answered your question. :) Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

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 stray

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

[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

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 works

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

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

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 to

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

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

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 having a

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

[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

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

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] mailto:[EMAIL PROTECTED] wrote: ie.link(:after, ie.image(:id, 'foo')).click Bret, this does not work for me. Am I doing something wrong? My