Sunday, December 31, 2017

Configuring Eclipse and Selenium

Configuring Eclipse and Selenium


There is a lot of stuff that you need to configure when you are working with selenium [depending on your needs] but the simplest would be to just have eclipse and selenium - that is all you need, everything else is just an add-on, for specific taskextension that you want to have.

    You would need to have the following bare minimum.
        1. Selenium jars [most populare being the java specific bindings]
        2. Eclipse
        3. Java Development Kit [JDK]
   
    Steps to configure selenium and eclipse -
       
  1. Configure Java by installing the latest version of the JDK [default setup - no customizations needed] and then, add the following Java Environment variables
            Path -
                C:Program FilesJavajdk1.7.0_10 in;
               
            JAVA_HOME -
                C:Program FilesJavajdk1.7.0_10

            CLASSPATH -
                C:Program FilesJavajre7libext;C:Program FilesJavajdk1.7.0_10lib;

             If you get an output like below for java, then java is correctly configured.

link download

No comments:

Post a Comment