Re: [Wtr-general] How can my script wait until a new window has finished loading before using IE.attach?

2006-03-21 Thread Paul Carvalho
Hi Bret, I tried this out in my test environment and yes, it works perfectly. Thanks.Paul.On 21/03/06, Bret Pettichord [EMAIL PROTECTED] wrote:The code base in development allows you to configure this. IE.attach_timeout = 10This is number of seconds to wait for the window specified in

[Wtr-general] How do you attach to a Tab in IE 7?

2006-03-21 Thread Paul Carvalho
Is anyone else playing with Internet Explorer 7 (Beta)?I have a computer set up with Win XP Pro SP2 and Internet Explorer 7 Beta 1, and I ran one of my scripts to see what would happen. For the most part, everything ran as expected except for one thing - instead of opening a link in a new browser

Re: [Wtr-general] How do you attach to a Tab in IE 7?

2006-03-21 Thread Chris McMahon
On 3/21/06, Paul Carvalho [EMAIL PROTECTED] wrote: Is anyone else playing with Internet Explorer 7 (Beta)? We're scared. :) -Chris ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How do you attach to a Tab in IE 7?

2006-03-21 Thread Zeljko Filipin
+1 :)On 3/21/06, Chris McMahon [EMAIL PROTECTED] wrote: We're scared.:) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How do you attach to a Tab in IE 7?

2006-03-21 Thread Bret Pettichord
On 3/21/06, Paul Carvalho [EMAIL PROTECTED] wrote: Do you think perhaps we can add a new command like: IE.tab(:title, /blah/) or would it be better to enhance IE.attach to sift through the tabs in addition to any other open browser windows? (Because we might not know if it's in a new tab or

[Wtr-general] undefined method `add_assertion' for nil:NilClass

2006-03-21 Thread Paatsch, Bernd
Title: undefined method `add_assertion' for nil:NilClass Hello watir team, I tried to use assertion's in my code and had absolutely now success today. I always get following error: TEST FAILED.undefined method `add_assertion' for nil:NilClass

Re: [Wtr-general] undefined method `add_assertion' for nil:NilClass

2006-03-21 Thread Bret Pettichord
On 3/21/06, Paatsch, Bernd [EMAIL PROTECTED] wrote: def .some code begin I suspect your problem is somewhere in here. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Window attach problem.

2006-03-21 Thread Bret Pettichord
This is a timing problem in IE#attach. It is fixed in development. See the recent email discussion regarding IE.attach_timeout. Bret On 3/21/06, Galina Maralina [EMAIL PROTECTED] wrote: Hello, I am having a problem to attach a window, this is a script: … $ie.link(:id,

Re: [Wtr-general] undefined method `add_assertion' for nil:NilCla ss

2006-03-21 Thread Paatsch, Bernd
Title: RE: [Wtr-general] undefined method `add_assertion' for nil:NilClass Still the same after I changed the code to: def bpVerifyPopupWindowOpen( ieCont, verify) #how, what, framename, verify ) begin assert( ieCont.contains_text( verify) ) puts(TEST PASSED. Found test string

Re: [Wtr-general] Window attach problem.

2006-03-21 Thread Paul Carvalho
On 21/03/06, Galina Maralina [EMAIL PROTECTED] wrote: Hello,I am having a problem to attach a window, this is a script: … $ie.link(:id, /ORG_POPUP/).click $ie1 = Watir::IE.attach(:title, C2P -)…Hello there. I'm just curious.. should the extra space and dash be at the end of

Re: [Wtr-general] undefined method `add_assertion' for nil:NilCla ss

2006-03-21 Thread Paatsch, Bernd
Title: RE: [Wtr-general] undefined method `add_assertion' for nil:NilCla ss Now I get: TEST FAILED.undefined method `include' for (WebAC::BPUtils):WebAC::BPUtils -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Bret Pettichord Sent: Tuesday, March

Re: [Wtr-general] undefined method `add_assertion' for nil:NilCla ss

2006-03-21 Thread Bret Pettichord
Oops. Put the include statement before the def instead of inside it. On 3/21/06, Paatsch, Bernd [EMAIL PROTECTED] wrote: Now I get: TEST FAILED.undefined method `include' for (WebAC::BPUtils):WebAC::BPUtils -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

[Wtr-general] Watir 1.5?

2006-03-21 Thread Dave Burt
Hi Bret and anybody else hacking on the Watir library, What's the status on Watir 1.5? The changes I've heard about include effective ways of handling popups (confirm, alert, modal web dialogs, save-as) and more consistent returning of Watir wrappers rather than straight WIN32OLE handles, and

Re: [Wtr-general] Watir 1.5?

2006-03-21 Thread Bret Pettichord
Dave, First of all, you can look at the CVS code, but it would be better to look at our code on SVN (at openqa.org) or even just look at the versions that i posted to wiki.openqa.org the other day. They are both more current. The support for windows popups, however, is not really ready for

Re: [Wtr-general] Watir 1.5?

2006-03-21 Thread Dave Burt
Hi Bret, Thanks for your complete and helpful answer. I'll probably grab the dev code when I get a chance. Bret said: Since moving the code to OpenQA, there are a lot of loose ends to tie up to explain what is going on. If you see one, it would help a lot if you could tie it off for us.