Selenium Testing Tutorial

Everyone talks about learning selenium for their career but most of them are missed to gain basic information about Selenium...!

Let's learn about Selenium from Scratch to Advance Level with SLT Learning !

SELENIUM is free to use automation "Framework" which contains own "Libraries File". Using selenium we can automation all type of web based applications across different type of browsers.

Selenium is one of the most widely used open source Web UI (User Interface) automation testing suite.

SELENIUM contains various family members as well, which we can use based on their advantages.


Let's talk about Selenium Family now:-


Below are Individual Link for Tutorials of Each Topics:

Selenium IDE : Developed By Shinya Kasatani

Selenium WebDriver : Developed By Simon Stewart in 2006

Selenium Grid : Developed By Patrick Lightbody

Selenium RC (Now depreciated) : Developed By Paul Hammant


Comparison of SELENIUM / HP QTP / IBM RFT:-



Advantages of Selenium Over Other Tools:-

  • Selenium is an open source and portable Web testing Framework.
  • Selenium IDE provides a playback and record feature for authoring tests without the need to learn a test scripting language.
  • It can be considered as the leading cloud-based testing platform which helps testers to record their actions and export them as a reusable script with a simple-to-understand and easy-to-use interface.
  • Selenium supports various operating systems, browsers and programming languages. Following is the list:
  • Programming Languages: C#, Java, Python, PHP, Ruby, Perl, and JavaScript
  • Operating Systems: Android, iOS, Windows, Linux, Mac, Solaris.
  • Browsers Supports: Google Chrome, Mozilla Firefox, Internet Explorer, Edge, Opera, Safari, etc.
  • It also supports parallel test execution which reduces time and increases the efficiency of tests.
  • Selenium can be integrated with frameworks like Ant and Maven for source code compilation.
  • Selenium can also be integrated with testing frameworks like TestNG for application testing and generating reports.
  • Selenium requires fewer resources as compared to other automation test tools.
  • WebDriver API has been indulged in selenium which is one of the most important modifications done to selenium.
  • Selenium web driver does not require server installation, test scripts interact directly with the browser.
  • Selenium commands are categorised in terms of different classes which make it easier to understand and implement.
  • Selenium Remote Control (RC) in conjunction with WebDriver API is known as Selenium 2.0. This version was built to support the vibrant web pages and Ajax.

Limitation of Selenium:-

  • Selenium does not support automation testing for desktop applications.
  • Selenium requires high skill sets in order to automate tests more effectively.
  • Since Selenium is open source software, you have to rely on community forums to get your technical issues resolved.
  • We can't perform automation tests on web services like SOAP or REST using Selenium.
  • We should know at least one of the supported programming languages to create tests scripts in Selenium WebDriver.
  • It does not have built-in Object Repository like UTF/QTP to maintain objects/elements in centralised location. However, we can overcome this limitation using Page Object Model.
  • Selenium does not have any inbuilt reporting capability; you have to rely on plug-ins like JUnit and TestNG for test reports.
  • It is not possible to perform testing on images. We need to integrate Selenium with Sikuli for image based testing.
  • Creating test environment in Selenium takes more time as compared to vendor tools like UFT, RFT, Silk test, etc.
  • No one is responsible for new features usage; they may or may not work properly.
  • Selenium does not provide any test tool integration for Test Management.

Interview Questions & Answers Section for Selenium

No comments:

Post a Comment