Don't you need a attribute value for the frame? ie.frame(:id,"main").link(:text,"Add New").click.
-----Original Message----- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of malar Sent: Friday, January 23, 2009 1:15 AM To: Watir General Subject: [wtr-general] Unable to locate a frame Hi, i am new to watir. The following code is running properly in one machine. ie.show_frames ie.frame("main").link(:text, "Add New").click if i try to run in another machine, i am getting "Unable to Locate a frame named main" what is the problem? can u resolve it and tel me? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---