Archive

Archive for February, 2011

Selenium IDE basics.

February 11, 2011 Leave a comment

Selenium IDE

As I mentioned in the earlier post, Selenium IDE is a FireFox plug in. It very easy to install and use. I am going to describe how to install Selenium IDE

Installation Steps :

1. Open Firefox.

2. Visit http://seleniumhq.org/download/

3. Click on download link.

4. Browse ask to ‘Allow’ the site to install. Click on Allow button at the top right corner of the browser.

5. Now you can see ‘Software Installation’ pop over and click on ‘Install’ button in that.

6. After the Installation[with in seconds] firefox ask you to restart the browser.

7. After restarting the browser ‘Selenium IDE’ get installed in the browser.

8. You can find the Installed Selenium IDE under tools menu in the browser.

Advertisements

Basic Selenium Intro..

February 10, 2011 5 comments

Selenium

Now a days ‘Selenium’ is common and popular world in software testing field.  Selenium is package of web application testing tools developed by thoughtworks. Popular tools in the Selenium package are

  • Selenium IDE
  • Selenium RC
  • Selenium Grid
  • Selenium 2 and WebDriver

Selenium IDE

I think, it is most popular tool in the selenium package because of its ease of use. Its an Firefox addon. We can easily installed as Firefox plug in on and record and playback web applications. Most importantly there is no need for technical background for using Selenium IDE.

For more info

Selenium RC

If the application under test is some what complex, Selenium RC comes into play. Because we can not do complex logics in Selenium IDE. Main thing regarding the Selenium RC is that we can create our test scripts in any language[java, php, c#, ruby, python etc] and run it on any java script enabled browsers [fire fox, Internet Explorer, Safari, Google Chrome]

For more details

Selenium Grid

Consider a test application that have hundreds of tests to run for every regression[or every day], how can we manage since running those many scripts in Selenium RC takes hours and hours to execute. To over come this situation Selenium Grid is the option. Selenium Grid executes the tests parallel and saves lot of time. And also we can run tests in multiple machines and browsers at same time.

For more details

Selenium 2 and WebDriver

This is developed to overcome some limitations of Selenium 1[RC]. It does not depend on a javascript core embedded within the browser, therefore it is able to avoid some long-running Selenium limitations. Developers proposed this tool for using following conditions :

  • Cross domain testing
  • Handling multiple frames, multiple browser windows, popups, and alerts.
  • Drag-and-drop.
  • AJAX-based UI elements.

In addition to above listed tools, there are some other tools also coming from Selenium family

  • Selenium Core
  • Selenium on Rails
  • Selenium on Ruby
  • Cubic Test
  • Bromine

References

http://seleniumhq.org/docs/01_introducing_selenium.html

http://seleniumhq.org/projects/

%d bloggers like this: