Quality is delighting customers
Hi
What are requirements for Selenium Java
Could you please explain how to configure it?
Regards
Balaji
Tags:
Permalink Reply by Sitam Jana on February 15, 2012 at 12:11pm 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 :-
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
Permalink Reply by Pradeep Singh on February 15, 2012 at 2:43pm A nice explanation.......
Thanks Sitam Jana
Permalink Reply by Wasiqul Huq on February 15, 2012 at 2:09pm 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
© 2012 Created by Quality Testing.