Skip to main content

Cruxes of Selenium - Selenium Basics - Selenium for Beginners

  • Selenium is a suite of several automated testing tools, each of them catering to different testing needs.
  • Basics and advantages of Selenium - All these tools fall under the same umbrella of open source category and supports only web based testing.
  • Selenium suite is comprised of 4 basic components; Selenium IDE, Selenium RC, WebDriver, SeleniumGrid.
  • User is expected to choose wisely the right Selenium tool for his/her needs - Here is the Good News for Selenium Testers.
  • Selenium IDE is distributed as a Firefox plug-in. It is easier to install and use. User is not required to possess prior programming knowledge. Selenium IDE is an ideal tool for a naive user.
  • Selenium RC is a server that allows user to create test scripts in a desired programming language. It also allows executing test scripts within the large spectrum of browsers. "Top 4 Difference between Selenium RC & WebDriver"
  • Selenium Grid brings out an additional feature to Selenium RC by distributing its test script on different platforms and browsers at the same time for execution, thus implementing the master slave architecture.
  • WebDriver is a different tool altogether that has various advantages over Selenium RC. The fusion of Selenium RC and WebDriver is also known as Selenium 2. WebDriver directly communicates with the web browser and uses its native compatibility to automate.
  • Selenium 3 is the most anticipated inclusion in the Selenium suite which is yet to be launched in the market. Selenium 3 strongly encourages mobile testing.


Popular posts from this blog

Complete Selenium Topics to be a Professional Selenium Tester

Complete Topics in Selenium to be a Professional Tester Free PDF Below

•        What is automation testing? •        When Automation Testing is needed? •        When Automation Testing is not needed? •        What is the use of automation testing? •        Different Automation Tools available in the Market. •        What is the difference between Selenium and QTP?
•        What is Selenium? •        Advantages of Selenium
•        IDE Overview •        RC Overview •        Selenium-Grid •        Selenium Web Driver/Selenium 3.0
•        Installing IDE •        IDE icons •        Recording your first test with IDE •        IDE Context Menu •        Assert •        Verify •        Adding IDE comments •        Synchronization commands •        Working on pages with AJAX •        Storing elements •        Creating test suites •        Tools  to identify elements/objects •        …

Good news for Software Testers

Here are some of the latest Testing and IT news from technical reporters –
IT managers consortium has agreed that software testers would no longer be blamed for a production defects. Though they are yet to find some one who they could put blame on (Johny the developer is said to be already suffering from ProductionDefectoPhobia)Consortium has also agreed on having salary of software testers on par with software developer at least by 2020. There was an unanimous decision on increasing management salary by 23% from immediate effectConsortium has barred developed from using phrase “It works locally”. Violation of this rule would attract 1 night out in office. Continuous violation would attract exponential salary deductionsComplete Topics to be a Professional Selenium TesterSelenium Concepts Speak and Automate—New era in automated testing. Voice Automation tool for web and windows application was released yesterday. This tool is capable of generating automation suites as you speak of appli…

Top 5 Selenium Webdriver Coding Tips to Improve Quality

SeleniumWebdriver is a powerful automation tool for testing web applications. It’s an open source library bundled with a rich set of features. Using it for testing a website is just like simulating the actions of a real user.
All these abilities together make it a perfect tool for automation. But you need proper guidance to get the best out of it. In this blog post, we’ve assembled some of the best and Top 5 Selenium Webdriver coding tips for software testers.

Tip-1: Best Method To Create Webdriver Instance.
It’s one of the most common Selenium Webdriver coding tips which you can’t avoid to use.
1.1- Use the <Factory> design pattern to create objects based on browser type.
1.2- Extend the below code or use it as is in your projects.
public class DriverFactory {
private WebDriver driver = null;
    public static WebDriver getBrowser(String browserType) {         if (driver == null) {             if (browserType.equals("Firefox"))
            {                 driver = new …