On Fri, Jan 8, 2010 at 11:15 AM, Kunal Kumar <kunal...@gmail.com> wrote: > $ie.frame(:index, 3).span( :xpath, "//d...@id='test']/../span" ).click > would fail with error.
That should work. What error do you get? Take a look: http://wiki.openqa.org/display/WTR/XPath "...you can access frames using the attributes that Watir provides but you can't use *xpath* attribute for accessing frames..." Željko -- watir.com - community manager watirpodcast.com - host
-- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general