Monday, October 19, 2009

Part 3: Selenium Flavors (Components)

There are 3 types of Selenium Components available in now.

1. Selenium Core:

Selenium Core is the test execution framework for all selenium flavors.
Even though users can use Selenium Core as the testing tool but not encouraged
It is the engine of both, Selenium IDE and Selenium RC
Selenium core is written in DHTML.
Selenium developers it self says that the Selenium Core will be deprecated in recent future, hence I am not at all bothering about Selenium core in any of the topics.

2. Selenium IDE

Selenium IDE is a record and playback tool. Selenium IDE is a firfox extension so as I mentioned before this is its biggest limitation. So if you want to run our tests on different browsers you may need to go for Selenium RC. But we can run our tests which has been recorded b IDE in an browser using Selenium RC.
Selenium IDE provides auto complete for all the selenium commands.
Can save the recorded tests in to different supported formats (html, java, rub, etc..)
we can also set debug and break points.

3. Selenium RC (Remote Control)

Selenium Remote Control (RC) allows us to write the tests in any programming language against any HTTP website using any javascript-enabled browser.
Selenium RC has a server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests.
Selenium Client Driver libraries for our favorite computer languages HTML, Java, C#, Perl, PHP, Python, and Ruby..
The RC server also bundles Selenium Core, and automatically loads it into the browser.

4. Selenium-Grid

Grid allows the Selenium-RC test suites that must be run in multiple environments and allows for running tests in parallel
Multiple instances of Selenium-RC are running on various operating systems and browser configurations, each of these when launching register with a selenium hub. When tests are sent to the hub they are then redirected to an available Selenium-RC, which will launch the browser and run the test. This allows for running tests in parallel.

No comments:

Post a Comment