×

Selenium Testing

Selenium is a functional testing tool and compatible with non–functional testing tool. Selenium is free and not required any licensing.

There are specified types of testing that can be automated using Selenium:-

  Functional Testing:

  • Checking every component of a module individually in an application is known as functional testing. It is critical to any software, as it verifies that it is ready for Release.
  • Selenium automates the functional test cases mainly at the UI layer of the Web Application under testing.

Types of Functional Testing that can be automated using Selenium:

Types of Functional Testing

Smoke Testing: 

  • Checking the essential & critical features of an application before processing with in-depth regressing testing is known as smoke testing.
    • In smoke testing, we only review the positive flow of an application to check if the build is testable or not. A blocker bug can be identified at very early stages in smoke testing.
    • Generally, we do smoke testing whenever a new build is installed. Whenever the stable build installed anywhere like UAT [user acceptance testing], test server and production server, test engineer do one round of smoke testing to find any Blocker bug.
    • A smoke test case is always automated and executed on every new build when it is installed because smoke testing is a repetitive task.

Sanity Testing: 

  • When the production deployment is required to fix a critical bug immediately on a build, test engineer do one round of sanity testing. For detailed testing of some limited features, sanity testing follows the narrow and deep approach.
  • It is a subset of regression testing, and it is typically non-scripting. 
  • If the build failed, the test engineer should reject the build to avoid wasting time and cost involved in testing.
  • Build level regression testing is also knowns sanity testing.

UI Testing:

  • UI testing involves testing the GUI [Graphical User Interface] elements of the Application like check-box options, buttons, menus, text alignments, etc. are correctly displayed.
    • Web-based Applications are those applications which can be accessed through a URL.

In such applications, we mainly test the front end of the Application, which is used by the end-user.

  • UI testing is also known as front-end testing or Application testing.
    • A test engineer has a good understanding of business requirements, coding, functional knowledge, etc. to perform UI testing.

 Database Testing:  

  • Check whether the data is posted and updated in the UI of Application is in sync with data stored in the database of the Application. It is also knowns as back-end testing or data testing because back-end components are not visible to the user.
  • Checking the schema, tables, columns, key and indexes, triggers and stored procedures, etc. of the database is called database testing. Database testing is used to check data integrity and consistency.

 Cross Browser Testing: 

  • Testing the Application in all the supported web browsers, is called cross-browser testing.
    • Cross-browser testing is used for both web and mobile applications.
    • Cross Browser testing is used to test your web application in multiple browsers, and it works consistently, and there is no compromise in the quality of the product.
    • It is running the same set of test cases various times on different browsers.

 Regression Testing:

  • Whenever code changes due to the enhancement of bug fixes and to make sure that existing features are not affecting, is known as regression testing.
  • Whenever there is new Release for some project, then we go for Regression Testing because the new feature may change the old features in the previous releases.
  • Regression testing is used to verify that the bug fixes and the newly added functionality do not create any problem in the earlier version of the product.
  • It is not dependent on any programming language like Java, C++, C#, etc. 

Related Topics

Selenium WebDriver Characteristics

Characteristics of Selenium WebDriver Some of the essential characteristics of Selenium WebDriver are as follows: Multiple Operating System Support Selenium Webdriver supports multiple operating systems like: Desktop OS: Window, Linux, and macOS Mobile OS:...

2 minutes read.

Selenium WebDriver- Microsoft Edge Browser

Selenium WebDriver- Microsoft Edge Browser: In this tutorial, we will learn how to launch the Microsoft Edge browser in the Selenium WebDriver. Before we start automating our test script with Microsoft Edge...

4 minutes read.

CSS Selector: Attribute in Selenium IDE

CSS Selector: Attribute Locating the attribute of a CSS selector, we would access the Password textbox, which is present in the login form of Facebook. The Password textbox has a type attribute...

1 minute read.

Selenium WebDriver - Navigation Controls Commands

Navigation Controls Commands in Selenium WebDriver WebDriver is used to hold the browser history and perform browser navigation operations like, back, forward, and refresh. Whenever a WebDriver launches a browser, all...

5 minutes read.

Selenium WebDriver installation

Installation Steps of Selenium WebDriver In this tutorial, we will see the process of selenium webdriver installation. Selenium WebDriver installation process is done in four Stages: Java Installation (version 8 or higher version) Eclipse...

4 minutes read.

Mouse and Keyboard Controls in Selenium WebDriver

Mouse and Keyboard Controls in Selenium WebDriver In this tutorial, we will learn about how to handle mouse and keyboard event using action class in selenium WebDriver. Action Class in Selenium WebDriver: Action...

13 minutes read.

Characteristics of Selenium IDE

Characteristics of Selenium IDE Selenium IDE is separated into different parts, each having their features and functionalities. The seven various components of Selenium IDE are as follows: MENU BAR: The menu bar is...

3 minutes read.

Difference between Selenium WebDriver and Selenium RC

Difference between Selenium WebDriver, and Selenium RC: Selenium WebDriver and selenium RC (Remote Control) both are different in any manners which we see later in this tutorial, let us see the...

3 minutes read.

WebDriver-Id Locator

WebDriver-Id Locator: The Id Locator is used to identify any web element in UI with the help of the ID attribute. The First preference is always goes to ID locator while inspecting...

4 minutes read.

CSS Selector: ID in Selenium IDE

CSS Selector: ID The id attribute is used to identify the web element uniquely in the web pages. Syntax of ID Attribute:  [HTML tag][#][Value of ID attribute] The hash sign (#): it is mandatory while using the...

1 minute read.

WebDriver-Partial Link Text locator

WebDriver-Partial Link Text locator In selenium WebDriver, there is an additional way to find a web link element with the help of partial link text locator. The partial link text is used...

4 minutes read.

WebDriver-Class Name Locator

WebDriver-Class Name Locator In this tutorial, we will learn about the Class name locator of selenium WebDriver. The Class Name locator is used to identify any element in UI based on the...

4 minutes read.

Selenium Assertion

Selenium Assertion: In this section, we will learn about the Assertion in Selenium WebDriver. An Assertion is a feature available in TestNG, which is used to verify the expected result of...

7 minutes read.

CSS Selector Locator in Selenium IDE

It used to identify the web element based on HTML tag, id, class, and attributes. To describe the look and formatting of a document written in the markup language are known...

1 minute read.

Data-Capture Controls Methods in Selenium WebDriver

Data-Capture Controls Methods: The data-capture controls are used to determine the text, size, location, and the CSS value of the web element, etc. Some of the most commonly used data-capture controls are...

7 minutes read.

Selenium WebDriver-Locators

Selenium WebDriver-Locators The WebDriver uses the same set of locating strategies like selenium -IDE for specifying the location of the web element. Each locating strategy has its command in Java to locate...

1 minute read.

WebDriver-Tag Name Locator

Selenium WebDriver-Tag Name Locator The tag name locator is used along with the findElements() method to identify multiple similar elements in the UI. It is used to locate the web element with...

3 minutes read.

Selenium-IDE Locators

Selenium-IDE Locators: Before we start learning about Selenium –IDE Locators, firstly we have to learn about UI elements. UI Elements -UI elements are the elements which are displayed on the web application....

1 minute read.

Selenium WebDriver-CSS Selector: Tag and Attribute

Selenium WebDriver-CSS Selector: Tag and Attribute We will locate the web element with the help of Tag and attribute CSS selector in this section of the tutorial. Where Tag and attribute are...

5 minutes read.

Selenium WebDriver-CSS Selector: Tag and Class

Selenium WebDriver-CSS Selector: Tag and Class We will locate the web element with the help of tag and class CSS selector in this section of the tutorials Where Tag and class are...

4 minutes read.