You need to point only to the directory.  I think the error you are getting
is not related to the firefox profile template. I think the error message
says it cannot find your jar file (seleneium-server.jar) .

Regards
Hari

On Thu, Sep 17, 2009 at 2:17 PM, WinWin <[email protected]> wrote:

>
> Hi Hari,
>
> Do i have to point to a specific file in the profile folder?
> When i tried to run "java -jar selenium -server.jar -
> firefoxProfileTemplate C:\tools\Profile\user_eclipse" from the cmd
> prompt, this is what i get:
>
> Exception in thread "main" java.util.zip.ZipException: The system
> cannot find the file specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>        at java.util.jar.JarFile.<init>(Unknown Source)
>
> I check the path is correct.
> Thx.
>
>
> On Sep 17, 2:22 pm, Harihara Vinayakaram <[email protected]> wrote:
> > Hi
> >    I would suspect that the Selenium Server is not using your firefox
> > Profile. The default Selenium behavior is to create a new Profile every
> time
> > and use it ?
> >
> >     I am assuming you have set up Tellurium Config to not start the
> selenium
> > server but start this from outside (using java -jar selenium-server.jar
> > -port xxxx -firefoxProfileTemplate yyyy )
> >
> >    I don't know if there is an option in Firefox to find the currently
> > running profile
> >
> > Regards
> > Hari
> >
> >
> >
> > On Thu, Sep 17, 2009 at 11:43 AM, WinWin <[email protected]> wrote:
> >
> > > Hi Hari,
> >
> > > When i accessed this page from firefox using the same profile, it does
> > > not lead me to the accept certificate page.
> > > But when i run the page from Eclipse, it will lead me to the
> > > certificate page.
> > > I have already pointed selenium to the same profile. Even restarted
> > > the selenium server, but it's still not working.
> > > Why? Pls advice. Thx!
> >
> > > On Sep 17, 2:01 pm, Harihara Vinayakaram <[email protected]> wrote:
> > > > Hi
> > > >   I am assuming that when you access this page using the same profile
> > > > (firefox -P <profileName>) you are not asked to download certificate
> the
> > > > second time. Can you confirm that ?
> >
> > > > Regards
> > > > Hari
> >
> > > > On Thu, Sep 17, 2009 at 9:51 AM, WinWin <[email protected]>
> wrote:
> >
> > > > > Hi Hari,
> >
> > > > > I have created a new profile and pointed the selenium server to the
> > > > > correct path, the server can be started successfully.
> > > > > Also tried to accept the certificate with the new user profile
> once.
> > > > > But I am still getting the page which required me to accept the
> > > > > certificate.
> > > > > What did I left out? Kindly guide. Thx!
> >
> > > > > On Sep 16, 6:13 pm, Harihara Vinayakaram <[email protected]> wrote:
> > > > > > If you are running Firefox you can do the following :
> > > > > >     Create a new profile.
> > > > > >    Using this profile Visit the site once and accept the
> certificate
> > > etc
> > > > > >    Use the same profile in the selenium server java -jar
> > > > > selenium-server.jar
> > > > > > -firefoxProfileTemplate <name of the directory where your profile
> is
> > > > > > located>
> >
> > > > > > Regards
> > > > > > Hari
> >
> > > > > > On Wed, Sep 16, 2009 at 3:27 PM, WinWin <[email protected]>
> > > wrote:
> >
> > > > > > > Hi,
> >
> > > > > > > How can I get rid of the certificate issue?
> > > > > > > My test case failed when it hits the page where I'll need to
> accept
> > > > > > > the certificate.
> > > > > > > Your advice is highly appreciated.
> >
> > > > > > > Thanks.- 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 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to