×

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-IDE Login test

Login test for Selenium-IDE Now we are learning, how to create a Login/sign-up Test case in Selenium IDE. For our testing purpose, we are going to test the login page provided by...

2 minutes read.

WebDriver-Link Text locator

WebDriver-Link Text locator The Link text locator is used to identify only web link elements based on the value of the link. The Link text locators cannot be used for other than...

4 minutes read.

Selenium Wait

In this tutorial, we will understand how we can avoid synchronization issues while executing the test script in a selenium WebDriver. Before going further in this tutorial, first, we will understand that...

10 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.

Selenium WebDriver – Web Element Controls

Selenium WebDriver – Web Element Controls A web element is an interface that is implemented by a remote web element class. The Web element control can be used to perform the data...

1 minute read.

CSS Selector: Sub String in Selenium IDE

CSS Selector: Sub String CSS Selector Sub-string is used to match a partial string to locate a particular web element. There are three ways to match a substring using a CSS Selector. Match...

2 minutes read.

Selenium WebDriver - IE [Internet Explorer] browser

Selenium WebDriver - IE [Internet Explorer] browser In this segment, we will understand how to run a test script with the help of the IE (Internet Explorer) browser. It is a standalone...

4 minutes read.

Selenium WebDriver-XPath Locator

Selenium WebDriver-XPath Locator The locators can make the object identification of all the selenium tools. There are eight locators available in selenium web driver, but most of the time we go for...

14 minutes read.

Name Locator in Selenium IDE

NAME LOCATOR: It is used to find the name in the web element. If we have multiple web elements of the same name, then the first matched element would be returned. Open the...

3 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.

Xpath locator in Selenium IDE

X PATH LOCATOR: Xpath is used to identify the element using any attribute or visible test. Syntax for X PATH:- //html tag [@attribute=’value’] e.g. - //div [@class=’label’]                    OR //html tag [text () =’Visible Text’] e.g.-//div [text...

2 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.

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.

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 - Firefox or Gecko (Marionette) browser

Selenium web driver-Firefox or Gecko (Marionette) browser In this tutorial, we are going to learn how to run the Selenium WebDriver test script in the Firefox Browser using the Gecko Driver. Before going...

4 minutes read.

Selenium WebDriver-CSS Selector: Tag and ID

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

4 minutes read.

Selenium WebDriver- Radio button handling

Selenium WebDriver- Radio button handling In this tutorial, we will be learning about handling the radio button in selenium WebDriver. Let us take one example to give you a better understanding of...

3 minutes read.

Drawback or Limitations of Selenium

Drawback or Limitations of Selenium Followings are the Drawback or limitations of Selenium:- Drawback /LimitationsDescriptionDesktop applications cannot be automated by Selenium.To test the desktop application, we have tools like Test Complete, Winnium, and...

2 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 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...

3 minutes read.