I am trying to click element Areas and Branches from the code below using xpath...but keep getting errors. can someone help?
<td height="18" valign="top" onclick="parent.content.location.href='MainMenu.jmp?pid=97&pName=Areas And Branches'" style="cursor:hand" > Areas And Branches</td> code being used is require 'test/unit' require 'watir' ie.goto('url name') ie.show_frames ie.element(:xpath,"//t...@onclick = 'parent.content.location.href='MainMenu.jmp?pid=97&pName=Areas And Branches')]/").click --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---