0

Automation with Selenium

Selenium is a chemical element with symbol Se and atomic number 34

Selenium was an internal project at ThoughtWorks in 2004 developed by Jason Huggins. Internally while in discussion over email he mentioned the tool as Selenium (which is actually a mercury killer) during that time Mercury testing tool was a popular.

What is selenium?

Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well - http://www.seleniumhq.org/

Think selenium as an API for web browsers.

Why do we want auotmated testing?

  • Regression: As we know Regression testing is a type of software testing which verifies that software which was previously developed and tested still performs the same way after it was changed or interfaced with other software. Changes may include software enhancements, patches, configuration changes, etc
  • High level testing (Test like users)
  • Combinatorial Testing: There are some tests which needs to be tested in combination which requires more concentrated effort and tiresome

Selenium 1.0 used JavaScript to drive the browsers interaction and later browser interaction module was replaced with Web Driver.

Now  Selenium 2.0  = Selenium 1.0 + WebDriver

Architechure

selenium architechure

Here

Web Driver API is a REST web services and Bridges are actually a wrapper class to invoke the Web Driver API URI’s which inturn invokes Drivers

In the upcoming post will discuss about the following tools and its purpose

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.