Selenium Installation:
=================
Step 1:
---------
Install Java and Set the Classpath in Environment Variables.
Step 2:
---------
Install eclipse.
Step 3:
---------
Install Mozilla Firefox
Step 4:
---------
Go to Google through firefox.
Firebug Addon(Install).
Note:
-------
Then you will get right top ant symbol. If you open any website and if you click on ant symbol, then it displays its id and class.
Step 5:
---------
Download jar file from http://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar
Step 6:
--------
Configuring jar file into yours project.
Note:
-------
* Right click on Project
* Click on Buildpath
* Configure Buildpath
* Libraries Tab
* Add External JARS.
* Select your downloaded jar file and finish.
Step 7:
--------
Go to firefox.
http://release.seleniumhq.org/selenium-ide/2.3.0/selenium-ide-2.3.0.xpi(Install).
Note:
--------
Then you will get selenium IDE in Tools menu of Firefox.
Step 8:
---------
Install firepath Addon.
Writing a Sample Program
-----------------------------------
* Open eclipse.
* File-> New->Java Project
* Project Name->Sample
* Finish.
* Right click on src folder of Sample.
* New -> Class
* Name - give the class name.
* eg: Test
* select public static void main(String[] args)
* Click on Finish.
=================
Step 1:
---------
Install Java and Set the Classpath in Environment Variables.
Step 2:
---------
Install eclipse.
Step 3:
---------
Install Mozilla Firefox
Step 4:
---------
Go to Google through firefox.
Firebug Addon(Install).
Note:
-------
Then you will get right top ant symbol. If you open any website and if you click on ant symbol, then it displays its id and class.
Step 5:
---------
Download jar file from http://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar
Step 6:
--------
Configuring jar file into yours project.
Note:
-------
* Right click on Project
* Click on Buildpath
* Configure Buildpath
* Libraries Tab
* Add External JARS.
* Select your downloaded jar file and finish.
Step 7:
--------
Go to firefox.
http://release.seleniumhq.org/selenium-ide/2.3.0/selenium-ide-2.3.0.xpi(Install).
Note:
--------
Then you will get selenium IDE in Tools menu of Firefox.
Step 8:
---------
Install firepath Addon.
Writing a Sample Program
-----------------------------------
* Open eclipse.
* File-> New->Java Project
* Project Name->Sample
* Finish.
* Right click on src folder of Sample.
* New -> Class
* Name - give the class name.
* eg: Test
* select public static void main(String[] args)
* Click on Finish.
No comments:
Post a Comment