http://wiki.openqa.org/display/WTR/XPath says:
"you can access frames using the attributes that Watir provides but you can't use xpath attribute for accessing frames" Try this: browser.frame(:index, 3).cell(:xpath, "//td[contains(@onclick , 'MainMenu.jmp?pid=97&pName=Areas And Branches')]").click Željko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
