Quality Testing

Quality is delighting customers

Hi

What are requirements for Selenium Java

Could you please explain how to configure it?

Regards

Balaji

Views: 180

Reply to This

Replies to This Discussion

Hi Balaji,

1) To do scripting using Java in selenium you first need to install java in your machine. You can download it from the link : http://www.java.com/en/download/index.jsp . Then click on the "Free Java Download" link. It will download java jre modules for you.

Then you need to install the java in your machine. After installing check whether there is Java under " C:\ program files " or not.

2) Then you need to download an IDE where you can integrate selenium with the java programs. We mostly use Eclipse IDE for this very purpose. To download you can go to the following link :-

Eclipse 64 bits for Windows

You need not to install the software. You just need to unzip the file and click on 'eclipse.exe' to open the IDE.

3) Now try to create a new java project in your eclipse IDE. To configure selenium into your java project, you only need to download jre files for selenium rc and/or selenium webdriver (Download anyone of them as they both serve the same purpose. Selenium rc is old version and selenium webdriver is new but the architecture of them two is completely different).

To download selenium webdriver jre files you can go to following link :-

http://selenium.googlecode.com/files/selenium-java-2.19.0.zip

Unzipping the file will give you many jre files.

4) The all you need to do now is to include these external jre files into your java project. To do this first you need to right click on the project folder -> click on the properties -> java build path -> libraries -> Add External JARs -> Select all the jar files under that unzipped file.

Now you have successfully configured selenium webdriver within your java project.

Try the process and please reply.

Thanks and regards                                                                                                                               Sitam

A nice explanation.......

Thanks Sitam Jana

You can find out details in my blog

Testing Talks - http://mdwasiqulhuq.blogspot.com/2012/01/running-test-scripts-in-se...

Leave comment for any type of query

RSS

TTWT Magazine

Advertisement

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service