# [wtr-general] Re: getting error while running watir script on firefox 3.0.11

```After enabling it do this:

Start -> run -> [firefox installation directory]\firefox.exe -jssh```
```
and then

Start -> run -> cmd -> type "telnet localhost 9997"

Let me know the results.

- Angrez

On Thu, Jul 9, 2009 at 11:03 AM, aparna <aparna.m...@gmail.com> wrote:

>
> Hi Angrez,
>
> I have enabled the telnet by following the steps given in the link and
> then typed "telnet localhost 9997" on command prompt. Now am getting
> an error "connecting to localhost...could not open connection to the
> host, on port 9997: connect failed"
>
> Thanks,
> Aparna
>
> On Jul 8, 10:50 pm, Angrez Singh <ang...@gmail.com> wrote:
> > telnet is not enabled by default in vista, I think that may be the cause
> of
> > the problem. Can you try enabling telnet using the steps described here:
> http://www.gohacking.com/2008/09/how-to-enable-telnet-command-in-vist...
> >
> > After that repeat what I said in my last email and let me know the
> result.
> >
> > Thanks,
> > Angrez
> >
> >
> >
> > On Wed, Jul 8, 2009 at 6:53 PM, aparna <aparna.m...@gmail.com> wrote:
> >
> > > Hi Angrez,
> >
> > > When i did this, "Start -> Run -> [firefox installation directory]
> >
> > > When i typed "telnet localhost 9997" on command prompt, it is saying
> > > that "telnet is not recognised as an internal or external command"
> >
> > > aparna
> >
> > > On Jul 8, 5:05 pm, Angrez Singh <ang...@gmail.com> wrote:
> > > > just try this:
> >
> > > > Start -> Run -> [firefox installation directory]\firefox.exe -jssh
> >
> > > > Now open command prompt and type "telnet localhost 9997"
> >
> > > > Let me know the results.
> >
> > > > - Angrez
> >
> > > > On Wed, Jul 8, 2009 at 3:57 PM, aparna <aparna.m...@gmail.com>
> wrote:
> >
> > > > > Hi,
> >
> > > > > when i tried running the script through command prompt, firefox
> home
> > > > > page is getting opened but the url mentioned in the script is not
> > > > > being taken by the firefox. Immediately after firefox home page
> > > > > getting opened, am getting the error which i have mentioned
> earlier.
> > > > > The same is the case when i run the script by pressing F5 key.
> >
> > > > > Thanks & Regards,
> > > > > Aparna
> >
> > > > > On Jul 8, 12:39 pm, aparna <aparna.m...@gmail.com> wrote:
> > > > > > sure. I will try that and let you know if any issues.
> >
> > > > > > Thanks,
> > > > > > Aparna
> >
> > > > > > On Jul 8, 11:17 am, Angrez Singh <ang...@gmail.com> wrote:
> >
> > > > > > > Just to make sure, when you try running the scripts you get the
> > > error
> > > > > that
> > > > > > > you mentioned in your mail. After that does firefox opens up or
> > > nothing
> > > > > > > happens.
> >
> > > > > > > Also, can you try running the Firefox executable with -jssh
> option
> > > from
> > > > > run
> > > > > > > command as suggested by Kiran and let us know the results
> >
> > > > > > > - Angrez
> >
> > > > > > > On Wed, Jul 8, 2009 at 11:24 AM, kiran <gki...@gmail.com>
> wrote:
> >
> > > > > > > > Hi,
> > > > > > > > Open 'firefox -jssh' from Run command and start running your
> > > scripts.
> >
> > > > > > > > Thanks,
> > > > > > > > kiran.
> >
> > > > > > > > On Jul 8, 10:08 am, aparna <aparna.m...@gmail.com> wrote:
> > > > > > > > > Hi,
> >
> > > > > > > > > JSSH addon is enabled in firefox. I have checked and then
> only
> > > > > tried
> > > > > > > > > to run the scripts.....
> >
> > > > > > > > > Regards,
> > > > > > > > > Aparna
> >
> > > > > > > > > On Jul 7, 8:19 pm, Angrez Singh <ang...@gmail.com> wrote:
> >
> > > > > > > > > > AFAIK, firewatir starts firefox with -jssh option
> > > automatically.
> > > > > Just
> > > > > > > > check
> > > > > > > > > > if jssh addon is enabled in Firefox using the menu as
> > > suggested
> > > > > by Anu?
> >
> > > > > > > > > > - Angrez
> >
> > > > > > > > > > On Tue, Jul 7, 2009 at 7:06 PM, Anu Gangavaram <
> > > > > anuwri...@gmail.com>
> > > > > > > > wrote:
> > > > > > > > > > > Did you start the Firefox with jssh option?  You can
> also
> > > check
> > > > > if
> > > > > > > > the jssh
> > > > > > > > > > > add-on is in the firefox - Open Firefox - Goto Tools -
> > > > > and
> > > > > > > > check in
> > > > > > > > > > > jssh addon is in.  I am using the same versions as you
> are
> > > and
> > > > > it
> > > > > > > > works fine
> > > > > > > > > > > on my machine.
> >
> > > > > > > > > > > Rgds,
> > > > > > > > > > > Anu
> >
> > > > > > > > > > > On Tue, Jul 7, 2009 at 8:52 AM, aparna <
> > > aparna.m...@gmail.com>
> > > > > > > > wrote:
> >
> > > > > > > > > > >>  Hi,
> >
> > > > > > > > > > >> I have downloaded the JSSH XPI from the following url
> -
> >
> > > > >
> http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn.
> > > ..
> >
> > > > > > > > > > >> The firefox version which am using is 3.0.11 and the
> OS is
> > > > > Windows
> > > > > > > > > > >> Vista
> >
> > > > > > > > > > >> Regards,
> > > > > > > > > > >> Aparna
> >
> > > > > > > > > > >> On Jul 7, 5:32 pm, Angrez Singh <ang...@gmail.com>
> wrote:
> > > > > > > > > > >> > can you let us know from where you have downloaded
> the
> > > XPI
> > > > > and
> > > > > > > > which
> > > > > > > > > > >> Firefox
> > > > > > > > > > >> > version are you using?
> >
> > > > > > > > > > >>  > On Tue, Jul 7, 2009 at 11:45 AM, aparna <
> > > > > aparna.m...@gmail.com>
> > > > > > > > wrote:
> >
> > > > > > > > > > >> > > Hi Angrez,
> >
> > > > > > > > > > >> > > I have installed JSSH XPI with admin privileges
> but
> > > still
> > > > > am
> > > > > > > > facing
> > > > > > > > > > >> > > the same problem.....
> >
> > > > > > > > > > >> > > Aparna
> >
> > > > > > > > > > >> > > On Jul 1, 4:03 pm, Angrez Singh <ang...@gmail.com
> >
> > > wrote:
> > > > > > > > > > >> > > > did you installed JSSh XPI with administrator
> > > > > privileges?
> > > > > > > > There are
> > > > > > > > > > >> lot
> > > > > > > > > > >> > > of
> > > > > > > > > > >> > > > people who came across this problem with JSSh
> but
> > > was
> > > > > solved
> > > > > > > > once
> > > > > > > > > > >> > > installed
> > > > > > > > > > >> > > > with admin privileges.
> >
> > > > > > > > > > >> > > > - Angrez
> >
> > > > > > > > > > >> > > > On Tue, Jun 30, 2009 at 11:33 AM, aparna <
> > > > > > > > aparna.m...@gmail.com>
> > > > > > > > > > >> wrote:
> >
> > > > > > > > > > >> > > > > Hi,
> >
> > > > > > > > > > >> > > > > I am facing an error when i tried to run watir
> > > script
> > > > > on
> > > > > > > > firefox
> > > > > > > > > > >> > > > > 3.0.11. Actually the ruby which i have
> installed
> > > is
> > > > > ruby
> > > > > > > > 1.8.6 26
> > > > > > > > > > >> and
> > > > > > > > > > >> > > > > watir is 1.6.2. Also I have installed
> firewatir
> > > and
> > > > > JSSH
> > > > > > > > (0.9)
> > > > > > > > > > >> > > > > extension. I have changed the settings on
> firefox
> > > like
> > > > > > > > "allowing
> > > > > > > > > > >> the
> > > > > > > > > > >> > > > > popups" and "firefox opens a new window
> > > new
> > > > > tab
> > > > > > > > when a
> > > > > > > > > > >> link
> > > > > > > > > > >> > > > > is clicked".
> >
> > > > > > > > > > >> > > > > The platform which i am using is windows vista
> and
> > > my
> > > > > system
> > > > > > > > is a
> > > > > > > > > > >> 32
> > > > > > > > > > >> > > > > bit machine.
> >
> > > > > > > > > > >> > > > > The following is my error -
> >
> > > > > > > > > > >> > > > > >ruby firefox.rb
> >
> > > > > > > > c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
> > > > > > > > > > >> > > > > firefox.rb:271:in `set_defaults': Unable to
> > > connect to
> > > > > > > > machine :
> > > > > > > > > > >> > > > > 127.0.0.1 on port 9997. Make sure that JSSh is
> > > > > properly
> > > > > > > > installed
> > > > > > > > > > >> and
> > > > > > > > > > >> > > > > Firefox is running with '-jssh' option
> > > > > > > > > > >> > > > > (Watir::Exception::UnableToStartJSShException)
> > > > > > > > > > >> > > > >        from
> >
> > > > > c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
> > > > > > > > > > >> > > > > firefox.rb:161:in `initialize'
> > > > > > > > > > >> > > > >        from
> >
> > > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
> > > > > > > > > > >> > > > > browser.rb:65:in `new'
> > > > > > > > > > >> > > > >        from
> >
> > > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
> > > > > > > > > > >> > > > > browser.rb:65:in `new'
> > > > > > > > > > >> > > > >        from firefox.rb:5
> > > > > > > > > > >> > > > > >Exit code: 1
> >
> > > > > > > > > > >> > > > > I have uninstalled the whole ruby, reinstalled
> and
> > > > > then
> > > > > > > > tried
> > > > > > > > > > >> running
> > > > > > > > > > >> > > > > the watir script. But still am facing the same
> > > issue.
> > > > > Please
> > > > > > > > > > >> anyone do
> > > > > > > > > > >> > > > > help me in solving this error.
> >
> > > > > > > > > > >> > > > > Thanks & Regards,
> > > > > > > > > > >> > > > > Aparna.- Hide quoted text -
> >
> > > > > > > > > > >> > > > - Show quoted text -- Hide quoted text -
> >
> > > > > > > > > > >> > - Show quoted text -- Hide quoted text -
> >
> > > > > > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
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