Saturday, March 3, 2012

SELENIUM -- AUTOMATION TESTING TOOL

SELENIUM IDE

The Selenium IDE is an add-on to FireFox.
At basic level it allows us to

1. Record user actions when browsing in FireFox.
2. Replay recorded scripts.
3. Convert recorded scripts into programming languages such as Java, Ruby, and more.
4. Add verification and synchronization steps to the script during the recording process.

The IDE is an excellent support tool for writing automated test scripts in Selenium and it gets better with every release.

JAVA

Java is a programming language created by Sun. The Java that we will be using in selenium is very simple. If your work environment uses a different language e.g. Ruby , .Net , Phython. Chances are that you will be able to use Selenium-RC in that language. But I have chosen Java because it is the language that Selenium Server is written in. It is also mature and very well supported by IDEs ( Integrated Development Environments) which really make it simple for a beginner to learn.

ECLIPSE

Eclipse is free and open-source IDE which supports many programming languages.
Out of the box it provides many useful support aids for beginning java programmers.

1. Wizards for code creation .
2. code completion .
3. automatically fix common coding errors.

It is also simple to install , incredibly popular among developers, and has a lot of additional plugins that you can use to increase your productivity .

SELENIUM- RC 

Selenium Remote Control is the server version of selenium. You write your tests using client APIs and these communicate with the server. The server then 'runs' your actions for you in the browser and reports the results back to your client.

Using selenium-RC allows you to write Automated tests in any supported programming language.
Tests written in this way are easier to maintain, more robust and easier to collaborate on as a team.

No comments:

Post a Comment