Thanks everyone for your assistance.
I managed to get it working with Zeljko's suggestions. It turns out
the page eppears to be closing the main frame and opening another as a
different name so I had to direct Watir to the new frame.
xpath does look very interesting and I'll keep it in mind for future
projects as well as test it against this one when the heat is off. It
will probably make future projects a lot simpler.
Mike.
Quoting Dave McNulla <mcnu...@gmail.com>:
mss,
from your attachment, I was able to find the link with xpath:
browser.link(:xpath, "//a[contains(@href ,
'showDownloadLanding.do')]").click
Here's a tutorial on it:
http://angrez.blogspot.com/2006/06/xpath-and-watir.html
Good Luck,
Dave
--
Before posting, please read http://watir.com/support. In short:
search before you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com