How does Selenium work? Selenium Tutorial
How does Selenium work?
The article will cover the following topics:
- What is Automation Testing?
- How was the Automation Testing concept introduced?
- What is Selenium?
- Working on the Selenium
What is Automation Testing?
Automation Testing means executing the test suite in an automated manner. However, Manual testing means executing the test cases suite manually means the human has to sit in front of the computer and execute the cases carefully.
How was the Automation Testing concept introduced?
There are various types of testing a user needs to perform to make sure the product is ready to deliver to the end-user or client. We perform unit testing, integration testing, functional testing, non-functional testing, or regression testing. We may find bugs and defects while validating the user requirements through testing. Once the bugs are resolved, we need to again verify the functionality is working. We check the functionality, we perform the regression testing. Regression testing means testing bugs and their dependencies are not affected by the recent code change. Sometimes, regression testing becomes very difficult to execute manually. So to optimize the human effort, the automation testing concept was introduced. Regression testing and retesting is a time-consuming process and takes a lot of human action. To overcome this problem, automation testing comes into the picture so that the test cases can be executed speedily in comparison to manual testing.
What is Selenium?
Selenium is an open-source automation framework. It supports multiple languages such as Java, Python, Perl, and C#. It tests the application on multiple platforms such as Windows, Mac, and Linux and various browsers such as Chrome, firefox, edge, etc.
Selenium has components such as:
- IDE(Integrated Development Environment)
- RC (Remote Control)
- Selenium Grid
- Selenium Webdriver
Working of Selenium
Earlier selenium used to work with its RC component. RC acts as an interface between the platform and browser which is used in designing or writing the test scripts in multiple languages to test the front. The limitation of using RC, it stops working or runs very slowly when there are large scripts. So, a selenium web driver was introduced which works on the same origin policy. It means you do not need any interface to interact with the browser.