Before starting Automation testing, Have studied what is software testing? If yes then you know what does testing means and why we need to perform this. There are two types of testing.
- Manual testing
- Automation Testing
Today , we will discuss what is automation testing.
Automation Testing is a type of testing in which test cases are executed by automated testing tools. In manual testing, we have to execute the test cases manually which was time-consuming and requires a lot of efforts. Automation testing saves time and cost.
Automated testing is performed on regression testing. If you want to perform a test for only once then there is no benefit of performing automation testing. But if you want to perform regression testing then you should perform this.
Let’s understand this by the following example
You have joined as a QA in the company and you are testing an application which has multiple forms. So let us suppose there are 50-60 fields in the first form. You will all details and then click on the submit button and then you find an error. You mark it as a defect and then it is assigned to the developer.
Next-Day the developer fixes the issue and again you have to test that form again. Now this time there is no error in this form, so you proceed to the next form. Again you find some errors in this form and again marked as defect and developer fixes them.
Again you have to test the 1st form again and whenever there is a new version of the application, you have to perform regression testing. So doing the same task, again and again, looks so boring. In starting, you will find this interesting but as time progresses, you will find it boring to test the same form again and again.
As a result of this, you will skip some fields and 100 accuracies will not be there. So, We perform automation testing. By performing this testing, you just have to run the scripts and all the values will be automatically field and all the work will be done in few seconds/minutes. It will save a lot of time.
How Automation testing works?
This is the most common question asked by students. How does automation testing work? What are the steps which are performed?
Test Tool Selection
This is the first and most important step of the automation process. There are a lot of tools available and you need to select the best tool according to the requirements depending on the testing types , languages it supports etc.
Define the scope of Automation
In this step, you need to check the test cases which need to be automated. The test cases are selected on the basis of :
- The scenarios which are having a large amount of data.
- Test cases which are having common functionality across applications.
- Important Features.
- Technical Feasibility.
- The complexity of test cases.
Planning, Design and Development
In this step, you will decide what action your test cases will perform. The automation tools are selected and then the test cases and test suites are developed in this step. The test cases are divided into smaller parts so that it becomes easy to test the application.
In this step, the automated test scripts are executed. You need to provide some input test data to the script. You can also run these test cases by using automated tools or through the test management tool.
In this step, we test that the new functionalities added to the software application are working or not. The automated scripts are added, reviewed and then maintained for each release cycle.
Types of Automated Testing
- Unit Testing
- Smoke testing
- Functional Testing
- Integration Testing
- Keyword Testing
- Regression Testing
Testing Automation Tools
These are the best automation tools:-
- Katalon Studio
- Lambda Test
- IBM Rational Functional Tester
- QMetry Automation Studio
Benefits of Automation Testing
- It provides faster Testing Results
- It offers comprehensive test coverage
- Automation Testing helps us to save money and time.
- If you apply this type of testing, then you will get high accuracy.
- It also offers you re-usable testing scripts.
- It is suitable for Regression Testing, Performance Testing and Load Testing.
- The Return of Investment (ROI) is very high.
- There is no human intervention is required while executing the test cases.
- You will get more speed in executing the test cases.
- The results of test cases are reliable.
In next post , we will study about Selenium and we will learn how to download and install Selenium.