Monday, April 30, 2012

Software Requirement for Selenium


1) Firefox 10
2) Selenium 1.7.1 (http://seleniumhq.org/download/)
3) Firebug (https://addons.mozilla.org/en-US/firefox/addon/firebug/)
     Firefox 3.6 works with Firebug 1.7.3
     used for : allows developers to find elements on the page by using the find functionality.?? It has a JavaScript REPL.    REPL stands for Read-Eval-Print-Loop, which is an interactive shell that allows you to run JavaScript without having to create an entire page.
4) Firefinder (https://addons.mozilla.org/en-US/firefox/addon/firefinder-for-firebug/)
   used for : A very good tool for testing out XPath and CSS on the page. It will highlight all the elements on the page that match the selector to your element location.
5) For other browsers :
IE Developer Tools :  This is built into IE7 and IE8, which we can launch by pressing F12. It also has a number of features that Firebug has.
Google Chrome Developer Tools : This, like IE, is built into the browser and will also allow you to find the elements on the page and be able to work out its XPath.
6) Notepad ++ text Editor: for making user extensions and Add Ons
For selenium RC:
1       1) Java JRE. You can download it from http://java.sun.com.
2    2) Setting up RC :
1. Download Selenium Remote Control from http://seleniumhq.org/download.
2. Extract the ZIP file.
3. Start a Command Prompt or a console window and check whether java is installed by typing java in cmd. navigate to C:\Program Files\Java\jdk1.7.0_03. Mainly java is found here.
Now change the settings:

 
3    3)      My computer properties – Advance system setting – Environment variables – under system variables add new variable name: JAVA_HOME and variable value as C:\Program Files\Java\jdk1.7.0_03 . Click ok . Now under system variable search for path. Click edit – paste under variable value : %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Windows Imaging\:C:\Program Files\Java\jdk1.7.0_03\bin
      4)   Now navigate to where the ZIP file was extracted. Put that in command prompt 
       5)      Run the command java –jar selenium-server-standalone.jar and the output should appear similar to the following screenshot: 
 
          Remote Control has been set up.
6) IDE : For Dotnet Visual Studio 2010. And For java: Eclipse or IDEA Intellij.
7) For java : JUnit and For Dotnet: NUnit
8) For Grid:
  Install : Download from http://selenium-grid.seleniumhq.org/download.html
  Install Ant : Download from http://ant.apache.org/bindownload.cgi

No comments: