Skip to main content

Posts

Showing posts with the label Selenium

Components of Selenium

Selenium has four components: Selenium IDE Selenium Remote Control (Selenium RC) Webdriver Selenium Grid   Now Selenium RC and Webdriver had merged to Selenium 2.0 to enhance the user experience of automation testing. Selenium Grid is used for cross browser and cross platform testing. Selenium Components

What is the difference between Selenium and QTP?

Feature QTP(UFT) Selenium Language Support VB Script Java, C#, Ruby, Python, Perl, PHP Windows (Non-browser) based Application support Yes No Browser support Google Chrome (uptill ver 23) Internet Explorer , Firefox ( ver 21) Google Chrome , Internet Explorer , Firefox , Opera , HtmlUnit, Safari Environment Support Only Windows Windows , Linux , Solaris OS X , iOS, Android, Others (If brower & JVM or Javascript support exists) Mobile (Phones & Tablets) Support Different commercial product i.e. HP UFT Mobile (formerly known as MobileCloud for QTP) Android , iPhone & iPad , Blackberry , Headless WebKit Framework Easily integrated with HP Quality Center or HP ALM (separate commercial products) Selenium + Eclipse + Maven / ANT + Jenkins...

Brief History of The Selenium

Selenium first came to life in 2004 when Jason Huggins was testing an internal application at ThoughtWorks. Being a smart guy, he realized there were better uses of his time than manually stepping through the same tests with every change he made. He developed a Javascript library that could drive interactions with the page, allowing him to automatically rerun tests against multiple browsers. That library eventually became Selenium Core, which underlies all the functionality of Selenium Remote Control (RC) and Selenium IDE. Selenium RC was ground-breaking because no other product allowed you to control a browser from a language of your choice. While Selenium was a tremendous tool, it wasn’t without its drawbacks. Because of its Javascript based automation engine and the security limitations browsers apply to Javascript, different things became impossible to do. To make things worse, webapps became more and more powerful over time, using all sorts of special features new browse...

What Selenium is good at

There are a few factors that have attributed to Selenium’s success. Since this is a free tool, it often is one of the few options for companies that do not have a lot of budget for Automation tools. Selenium was first written in Java but it also supports .Net, Ruby, Perl, PHP and Python. This is a big plus when you want to build your framework in a language that has the highest adoption in the organization it is being built within. Tools like QTP force you to use VBScript – which is almost never the preferred scripting language for developers. Since this instantiates and drives a real browser, as opposed to simulated browser solutions like HtmlUnit, this tool runs in a client that is closer to what a real user would use. This in turn provides more confidence that tests run with this tool would catch most issues that a real user would experience. It has support for all of the popular browsers like IE, Firefox, Chrome, Safari etc. It also supports several Operating S...

What is Selenium?

Selenium is one of the most popular tools for browser based testing. It is an Open Source project that has gained a lot of popularity in the last few years. Even though there are other Open Source (free) tools that can test a web application, like HttpUnit, HtmlUnit etc, this was one of the first tools that provided a real alternative to commercial tools like Quick Test Pro (QTP), WinRunner, Silk and others that had gained significant adoption by the QA Engineers .