Hi,

I am also getting same error on windows xp.

after running the command i got error saying that " Connection failed"

Thanks,
Khaja shariff




On Thu, Jul 9, 2009 at 11:51 AM, Angrez Singh <[email protected]> wrote:

> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>> >
>> > > Hi Angrez,
>> >
>> > > When i did this, "Start -> Run -> [firefox installation directory]
>> > > \firefox.exe -jssh" firefox home page is getting opened.
>> >
>> > > 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 <[email protected]> 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 <[email protected]>
>> 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 <[email protected]> wrote:
>> > > > > > sure. I will try that and let you know if any issues.
>> >
>> > > > > > Thanks,
>> > > > > > Aparna
>> >
>> > > > > > On Jul 8, 11:17 am, Angrez Singh <[email protected]> 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 <[email protected]>
>> wrote:
>> >
>> > > > > > > > Hi,
>> > > > > > > > Open 'firefox -jssh' from Run command and start running your
>> > > scripts.
>> >
>> > > > > > > > Thanks,
>> > > > > > > > kiran.
>> >
>> > > > > > > > On Jul 8, 10:08 am, aparna <[email protected]> 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 <[email protected]> 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 <
>> > > > > [email protected]>
>> > > > > > > > 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 -
>> > > Addons
>> > > > > 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 <
>> > > [email protected]>
>> > > > > > > > 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 <[email protected]>
>> 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 <
>> > > > > [email protected]>
>> > > > > > > > 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 <
>> [email protected]>
>> > > 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 <
>> > > > > > > > [email protected]>
>> > > > > > > > > > >> 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
>> instead of
>> > > 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 [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