[wtr-general] Net::ReadTimeout while alert is open in secondary tab

2017-01-15 Thread Peter
I'm running into the exception below when I try to take an action on my primary tab while an alert is open on another tab, I should note that closing the alert using *browser.windows.last.use { browser.alert.close }* avoids the problem but would require me to be aware of the alert beforehand.

[wtr-general] Re: Outlook recommendations

2008-10-15 Thread Peter
OX).Folders.Item(folder) if folder!='Inbox' #folder = @mapi.Folders.Item('Archive Folders').Folders.Item('Inbox') return ofolder end # gets a message from a folder # - how to get the message [:from, :subject, :Body, :Attachments] #

[wtr-general] Re: Test Environment setup : VMWare

2008-10-17 Thread Peter
I've done something similar in the past and this is how it was setup - 1 machine acts as the DRB server and has all of the test code - the other machines only had Ruby/Watir installed and a mapped drive to the test code - the server issues a command like... system("start ruby.exe z:/ test.rb") to

[wtr-general] Re: Outlook recommendations

2008-10-20 Thread Peter
If you are expecting a link in the message you can use regex to parse the url and then Watir to open it in a browser. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send

[wtr-general] How to copy text with Watir

2009-10-09 Thread Peter Kras
Hi! I need to check such situation: I have text field with id="field1" that contains text '250M'. When you click on it - only '250' becomes highlighted - special logic. Testing it with watir: $IE0 = Watir::IE.new .. $IE0.text_field(:id,'field1').f

[wtr-general] FireWatir: attach()

2010-10-22 Thread Peter Szinek
;t this enough info to be able to attach the popup? In short, I am looking for something like celerity's click_and_attach - which just works without any hassle, no need to wait and/or know the URL/title of the window... Cheers, Peter -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Re: FireWatir: attach()

2010-10-27 Thread Peter Szinek
Thanks Bill - will go through this and let you know! Cheers, Peter On Mon, Oct 25, 2010 at 12:54 PM, pet3r wrote: > Hi all, > > I am wondering whether there's no answer because it's not possible to > do the stuff below? It would be very important for me, so I'd l

[wtr-general] Re: browser seems to hang sporadically

2009-02-21 Thread Peter W
I think I'm have a similar problem running on XP with IE 7, Watir 1.6.2 and Ruby 1.8.6 It seems that when I run browser = Watir::Browser.new The browser half starts up and then hangs. If I put a print after the browser new line, it never gets hit. This problem only happens about one tim