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.
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]
#
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
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
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
;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
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
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