As per what I know you have to start firefox first with -jssh option and
then run the test script.
Test script won't start Firefox. Every time you have to run a script you
have to first start Firefox with -jssh option

- Angrez

On Thu, Apr 21, 2011 at 1:37 PM, prathibha m <prathibha.a...@gmail.com>wrote:

> Ubuntu 10.10 OS.
> FireFox 3.6.16.
>
> On Apr 21, 11:01 am, Angrez Singh <ang...@gmail.com> wrote:
> > Which OS you are using? Which Firefox version are you using?
> >
> > - Angrez
> >
> > On Wed, Apr 20, 2011 at 6:01 PM, prathibha m <prathibha.a...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I installed ruby 1.8.7 version
> > > and gems 1.7.2 version
> > > i installed firewatir  and also the firefox extension JSSH 0.9
> > > I witten a simple google test script. first time the script run
> > > successfully.
> > > But I am trying to run the script second time it will give the errors
> > > like
> >
> > > /usr/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
> > > jssh_socket.rb:19:in `js_eval':  this.docShell is null
> > > (JsshSocket::JSTypeError)
> > >        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
> > > firefox.rb:194:in `set_browser_document'
> > >        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
> > > firefox.rb:104:in `goto'
> > >        from watir_script1.rb:4
> >
> > > If I install JSSH extension again then it run properly. So the problem
> > > is I have install the Jssh extension every time, i want to run the
> > > script.
> >
> > > So please solve my problem as early as possible.
> >
> > > Advanced thanks
> >
> > > Prathibha
> >
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
> > > before you ask, be nice.
> >
> > > watir-general@googlegroups.com
> > >http://groups.google.com/group/watir-general
> > > watir-general+unsubscr...@googlegroups.com<
> http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...>
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com<http://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com>
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to