Hi, No need to specify ID for a frame
On Fri, Jan 23, 2009 at 11:49 PM, Darin Duphorn <[email protected] > wrote: > > Don't you need a attribute value for the frame? > > ie.frame(:id,"main").link(:text,"Add New").click. > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] 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 [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 -~----------~----~----~----~------~----~------~--~---
