[Wtr-general] How do I attach to a "mailto" window
Paul Rogers
paul.rogers at shaw.ca
Thu Jul 5 12:13:03 EDT 2007
watir doesnt support doing this itself. You could probably write something
to do this using auto-it. But an easier way is to probably test it once
manually, and then save the link details. and instead of clicking the link,
just make sure it hasnt changed from when you manually tested it
Paul
----- Original Message -----
From: "marty" <forum-watir-users at openqa.org>
To: <wtr-general at rubyforge.org>
Sent: Thursday, July 05, 2007 8:25 AM
Subject: [Wtr-general] How do I attach to a "mailto" window
> In the HTML code I have a link with a href of mailto. When I click on it
> in Watir, it brings up a window for the email message. I would like to
> attach to that window just to verify that the link worked properly. How do
> I do this?
>
> Html code:
>
> <a href=mailto:'xxx at ncr.com'>xxx</a>
>
> Watir code so far:
>
> ie.link(:text, /xxx/).click
> ie1=IE.attach(:url, /????/) <--- Need HELP here
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
More information about the Wtr-general
mailing list