Hi!

This is pretty difficult to troubleshoot without more details. What
are the differences between your machines?

The best way to troubleshoot this yourself would be to use irb.  If
you haven't used it before, just open a command prompt and type irb.
Then you can try various commands on the existing frames from there.
Here's an example.

c:> irb
irb> require 'watir'
irb> ie = Watir::IE.find(:title, 'Your Webpage's Title')
irb> ie.show_frames

This way, you can verify what frames exist and then attempt to work
with them.

Hope this helps!

-Tiffany

On Jan 23, 12:14 am, malar <malar.je...@gmail.com> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to