INTRODUCTION TO TEST AUTOMATION

Introduction

In the world of Software testing, Test Automation is the use of a external tool that can control the execution of a test case and can compare the actual result with the expected/predicted result. Sometimes, Regression testing of an application becomes time consuming and laborious when it comes to a release and with every release the count of regression test case increases. A manual approach might not always be effective in finding certain classes of defects. To mitigate such issues, we now-a-days offer test automation as a possibility to perform these types of testing effectively. Once automated tests have been developed, they can be run quickly and repeatedly. This can be a cost-effective method for regression testing of software products that have a long maintenance life. Test Automation is applicable to GUI and API. Following are the types of testing that we mainly prefer to Automate:
  • Unit Testing,
  • Performance Testing,
  • Security Testing
  • Functional Testing,
  • Regression Testing,
  • Integration Testing, and
  • Smoke Testing
Initially, there were different tools which used to record and play the test cases, but now-a-days everyone try to script their own code to automate the application with the use of different programming languages that are used by the selected tool.

How to Automate?

These should be followed to get best results of test automation:-
  1. Decide what Test Cases to Automate,
  2. Select the Right Automated Testing Tool,
  3. Divide your Automated Testing Efforts,
  4. Create Good, Quality Test Data, and
  5. Create Automated Tests that are Resistant to Changes in the UI.

Decide What Test Cases to Automate

Before starting test automation, everyone need to know which test cases should we automate? Well, the answer is pretty simple. We mainly automate the test cases which met the below mentioned conditions/criteria's:
  • Repetitive tests that needs to be executed for multiple builds.
  • Tests that tend to cause human error.
  • Frequently used functionality that introduces high risk conditions.
  • Tests which are impossible to perform manually.
  • Tests that run on several different hardware or software platforms and configurations.
  • Tests that take a lot of effort and time when manual testing.

Selecting Automated Testing Tool

There are many test tools available in the market. I am trying to provide some names along with official website links.

Unit Testing
Security Testing
Performance Testing
We will be discussing about Selenium in this blog.

Comments

Popular posts from this blog

BEGINNING WITH SELENIUM

Setting up Maven in Eclipse editor

SELENIUM