Hi Angrez, I tried the steps in your July 8 post, using the XPI for Windows that you posted on July 3, and got the following results when I tried to run Firewatir:
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 benchmark.rb:11:in `new' from benchmark.rb:11 Also, I couldn't telnet to port 9997. I don't have a development environment with which to build Firefox, so I'm stuck. Please help! Thanks, Al B. On Jul 8, 2:05 pm, Angrez Singh <ang...@gmail.com> wrote: > The think is this the XPI that is generated can be installed only on Firefox > 1.x as the format in which it is generated works only on that version. From > version 2.x the format of the XPI has changed. You can try the following > solution: > > 1. Unpack the XPI that works with Firefox 3.0.x and the newly created XPI > for Firefox 3.5 > 2. Make sure the structure i.e. folder structure is same as that for 3.0.x > XPI > 3. Copy install.rdf file from 3.0.x XPI to 3.5 XPI. Open the file and change > the max version to 3.5+ > 4. Zip the 3.5.x folder > 5. Rename it to .xpi > > Let me know if that works. > > - Angrez > > On Wed, Jul 8, 2009 at 6:59 PM, Felipe Knorr Kuhn <fkn...@gmail.com> wrote: > > > > > Hello Angrez, > > > What are these tweaks you mentioned? > > > I have successfully compiled Firefox but like you said, I can't use the > > generated XPI :) > > > Thanks, > > > FK > > > On Mon, Jul 6, 2009 at 4:01 AM, Angrez Singh <ang...@gmail.com> wrote: > > >> You need to build Firefox with the JSSh extension enabled. To create the > >> XPI go to JSSh directory and say "make xpi" that will generate the XPI. The > >> only problem with the generated XPI is that its format is compatible with > >> only Firefox 1.5.x versions. We need to tweak the XPI (nothing but a zip > >> file) a bit. Let me know if you need any help while compiling Firefox code. > > >> Thanks, > >> Angrez > > >> On Fri, Jul 3, 2009 at 6:45 PM, Felipe Knorr Kuhn <fkn...@gmail.com>wrote: > > >>> Hello Angrez, > > >>> To build the XPI, do you have to go through the whole Firefox building > >>> process? > > >>> I've seen guides to build Firefox+JSSh, but I don't know if it creates > >>> the extension file separately or not :) > > >>> I could try to build it for Linux. > > >>> FK > > >>> On Fri, Jul 3, 2009 at 9:44 AM, Angrez Singh <ang...@gmail.com> wrote: > > >>>> Sure let me know where it fails > > >>>> On Fri, Jul 3, 2009 at 5:28 PM, Gonza <gonzalogte...@gmail.com> wrote: > > >>>>> Works fine! After testing it for a while I can tell you It works! I've > >>>>> several TCs, if any fails because jssh, I'll let you know. > > >>>>> Thanks, > > >>>>> Gonza- 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 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 -~----------~----~----~----~------~----~------~--~---