Saturday, February 11, 2012

Basics about Selenium Tool

In my words:
Selenium is the best open source tool in the market for automating web applications. This is a Regression Test tool we can automate almost any web applications . This tool will support scripting in menu languages Like Java,ruby,php,c# etc..

I will be explaining this in the perspective of a java developer because I'm expertise in JAVA.

This tool Consist of three Parts
1. Selenium IDE
2.Selenium RC/webdriver
3.Selenium Grid.

Selenium IDE:::::
This is a mozilla firefox add-on which is used to record and Playback. This can be used for recording some basic test scripts so that we can understand how a Script looks like. This recored test script can be exported to the desired language using the IDE.
IDE is meant only for the beginers. Experts will script Directly using RC environment.


Selenium RC/ Webdriver ::::::
Selenium IIDE have several drawbacks like it cannot be used as a scripting tool. So RC came in to action. IDE won't support Loops,Conditions etc Selenium Rc overcomes the drawbacks of IDE.
We can directly run the Selenium scripts which are exported form the IDE directly in RC.

Selenium Rc Consist of
1-Selenium stand alone server (jar file)
2-Selenium client (zip file)

We need a IDE for running Selenium RC. Generally I prefer Eclipse IDE or Netbeans.
Not Explaining how to configure and all. That job is done well inhttp://seleniumhq.org/docs/

Selenium Grid::::
For running parallel executions of maximum number of executions we can use GRID. Without using any thread mechanism . The Grid will setup as a Hub and many nodes associated with it so that we can directly execute multiple number of test cases .one test case per node.





Naveen Test Automation Engineer


0 comments:

Post a Comment