Quality Testing

Quality is delighting customers


I tried installing selenium rc into my system.I have latest version of java and extracted the selenium server to D: drive.

But when i try executing java -jar selenium-server-standalone-2.31.0.jar i am getting error unable to access jar file.

Can anybody please help me?





Views: 1286

Reply to This

Replies to This Discussion

Why dont you use like this

java -jar "E:\ebook\Book_To_read\Selenium Fire\selenium-server-standalone-2.24.1.jar" and hit enter in cmd

Let me explain this 

my selenium - server- standalone jar is present at this location E:\ebook\Book_To_read\Selenium Fire\

so to run server I have used it as above and have saved it in .bat extension through notepad to launch server just by htting the batch file

Please keep in mind below points before running Selenium-RC :

- Make Sure your JAVA is installed and  Path must be set in your system.

- Make sure port : 4444 shouldn't be allocated for any process, because Selenium will run in the default port : 4444 else you have to start selenium with any different port number using selenium-rc command.

- Open in Command Prompt, and enter into Folder (cd <foldername>) containing 'selenium-server-standalone-2.31.0.jar', then run command 'java -jar selenium-server-standalone-2.31.0.jar'

- Better to create a .bat file to start selenium server.


TTWT Magazine





© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service