Don't you need a attribute value for the frame?

ie.frame(:id,"main").link(:text,"Add New").click.

-----Original Message-----
[] On Behalf Of malar
Sent: Friday, January 23, 2009 1:15 AM
To: Watir General
Subject: [wtr-general] Unable to locate a frame

i am new to watir.
The following code is running properly in one machine.

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
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to