Issues with running selenium tests on firefox in Linux box.

19 views
Skip to first unread message

Hariprasanna Srinivasan

unread,
May 29, 2006, 5:50:11 AM5/29/06
to selenium-users...@googlegroups.com
Hi All..
I am trying to run selenium tests in java in a linux box against firefox.
I copied the jar selenium-server.jar and the selenium-driver/client .jar to the linux box and had set to the path variables. Started off the selenium server separetly, and ran the tests.

I have used /usr./local/bin/firefox instead of *firefox.

The firefox broswer opens up :
(i) In Linux box on opening firefox brings up the arrow mark icon which required to be positioned in some place in the screen and then only it opens up the firefox browser : This is a problem in automated runs,bcos it requires intervention - What is that needs to be set up to say when invoked friefox directly open up in the screen .

(ii) The firefox broswer opens up throwing up 404 error sayin:
Resource /selenium-server/SeleneseRunner.html not found on this server

This is because there is no proxy setting which is set in the broswer from the selenium side and the local proxy settings too dont work.

Log :
queryString = cmd=getNewBrowserSession&1=%2Fusr%2Flocal%2Fbin%2Ffirefox&2=http%3A%2F%2Fbali.us.oracle.com%3A8888
Got result: OK,1148892362617
queryString = cmd=getNewBrowserSession&1=%2Fusr%2Flocal%2Fbin%2Ffirefox&2=http%3A%2F%2Fbali.us.oracle.com%3A8888

What is to be done to solve both the issues ??

Hariprasanna Srinivasan

unread,
May 29, 2006, 6:21:01 AM5/29/06
to selenium-users...@googlegroups.com
Sorry missed out tht , in windows box i could see the proxy file gettin generated.But in linux am not sure where is the proxy .pac file ,if it has been created.
And should there be some more files which needs to be proted to the linux box other than the jar files??

Hariprasanna Srinivasan

unread,
May 30, 2006, 10:27:05 AM5/30/06
to selenium-users...@googlegroups.com
Hi all...i got it working...just tgt wl share wht mistake i did...

Issue 1: About the pointer comin up for placement of the firefox browser - it was just the VNC issue.

Issue 2: 404 Error - Proxy not gettin set.

Intially i had called up browser like " /usr/bin/firefox"

Changed to "*firefox /usr/local/bin/firefox"

It worked..

Reply all
Reply to author
Forward
0 new messages