Opening a Specific Email in GMail Using C# and WatiN -
I am working with sending and receiving emails through various web mail clients using WatiN, write And sending emails work perfectly, but I'm having trouble opening specific emails.
Each email that I send is a unique ID code on that topic, but how do I actually tell WatiN, the specific email I think would be something like this:
ie.Link (Find.ByText ("UN1QU3_1D")). Click ();
But how Gmail and Live set up your display does not seem to work ...
In addition, there is a little easier question, there is a Is the way
Do anyone have any bright ideas?
Many thanks.
Since not all Gmail message titles are actually linked, I think this will work:
i.e. click on Span (Find. ByText ("UN1QU3_1D"));
Also, as long as I remember, unless you specifically stop them, WATI will not close a browser, such as:
< Pre> ie.Close (); Update: In the end it worked for me: D Span i.e. Framesspain = I Frame [3] .spain (representative (span s) {return s.InnerHtml == tap? False: s.InnerHtml.Contains ("UN1QU3_1D");}); IeFramesSpan.MouseDown ();
Comments
Post a Comment