Hi,
    I tried the coding in command promt.but cmd promt is not supporting
ruby. I am getting "Uninitialized Constant IE Error".  I think the problem
is with my Internet Explorer.

The machine which is showing an error has
Internet Explorer 6.0.2900.5512 and service package version 3
windows xp version 2002 and service pack 3

and the other machine has
Internet Explorer 6.0.3790.3959 and Service Package version 2
 windows xp version 2002 and service pack 2

thank u
Malar









On Fri, Jan 23, 2009 at 11:34 PM, Tiffany Fodor <[email protected]> wrote:

>
> 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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to