• Automation Testing Tutorial | Software Testing Material

    In this article, we are going to see what is Automation Testing and the following

    We know that every project has three important aspects such as Quality, Cost & Time. The objective of any project is to get a high-quality output while controlling the cost and the time required for completing the project.

    What is Automation Testing?

    Automation testing is the process of testing the software application using an automation test tool to find the defects.

    In this process, executing the test scripts and generating the results are performed automatically by test automation tools.

    Some most popular tools to perform automation test are Selenium WebDriver, Katalon Studio, etc.,

    When to use Automation Testing?

    We do Automation testing in the following areas:

    Regression Testing

    Repeated testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software components. So, regression testing is best suitable for automated testing because of frequent code changes and it is beyond the human capacity to execute tests in a timely manner.

    Read more about regression testing here

    Load Testing

    It is to verify that the system/application can handle the expected number of transactions and to verify the system/application behavior under both normal and peak load conditions. Automated testing is also the best way to complete the testing efficiently when it comes to load testing. It is best suited for automation testing.

    Read more about load testing here

    Performance Testing

    This type of testing determines or validates the speed, scalability, and/or stability characteristics of the system or application under test. Performance is concerned with achieving response times, throughput, and resource-utilization levels that meet the performance objectives for the project or product. It is best suited for automation testing.

    Read more about load testing here

    The tests which can be done through automated or manual approach:

    Integration Testing

    Integration Testing is the process of testing the interface between the two software units. Integration testing is done by multiple approaches such as Big Bang Approach, Top-Down Approach, Bottom-Up Approach, and the Hybrid Integration approach.

    Integration Testing Complete Guide

    System Testing

    Testing the fully integrated application to evaluate the system’s compliance with its specified requirements is called System Testing AKA End to End testing. Verifying the completed system to ensure that the application works as intended or not.

    Unit Testing

    Unit Testing is also called Module Testing or Component Testing. It is done to check whether the individual unit or module of the source code is working properly. It is done by the developers in the developer’s environment.

    Acceptance Testing

    It is also known as pre-production testing.  This is done by the end-users along with the testers to validate the functionality of the application. After successful acceptance testing. Formal testing conducted to determine whether an application is developed as per the requirement. It allows the customer to accept or reject the application. Types of acceptance testing are Alpha, Beta & Gamma.

    In interviews, you may be asked to answer the following question

    Which tests cannot be automated?

    Let’s see which tests cannot be automated. Test which takes too much effort to automate are

    1. Exploratory Testing
    2. User interface testing
    3. Adhoc Testing

    When do you prefer Automation Testing over Manual Testing?

    We prefer Manual Testing over Automation Testing in the following scenarios

    1. It handles repetitive and time-consuming tasks
    2. To do parallel testing
    3. To do non-functional testing like load, performance, stress testing
    4. Avoids human errors

    Automated Testing Pros and Cons

    Advantages of automated testing

    • Automation is faster in execution then manual testing
    • It is cheaper compared to manual testing in the long run
    • Automated testing is more reliable
    • Automated testing is more powerful and versatile
    • It is mostly used for regression testing
    • It is reusable because the automation process can be recorded
    • Automation does not require human intervention. Test scripts can be run unattended
    • It helps to increase the test coverage

    Disadvantages of Automated Testing

    • It is recommended only for stable products
    • Automation testing is expensive initially
    • Most of the automation tools are expensive
    • It has some limitations such as handling captcha, getting visual aspects of UI such as fonts, color, sizes etc.,
    • Huge maintenance in case of repeated changes in the requirements

    Not all the tools support all kinds of testing. Such as windows, web, mobility, performance/load testing

    Which Test Cases To Automate?

    Test Cases to automate are as follows

    1. Data-driven test cases
    2. Test cases with higher complexity
    3. Test case with many database updates
    4. The test execution rate is high
    5. Smoke/Critical tests
    6. Tests with several combinations
    7. Graph test cases
    8. Higher manual execution time

    Learn detailed explanation here

    Which Test Cases Not To Be Automated?

    Types of tests need to be performed manually are as follows

    1. Subjective Validation
    2. New Functionalities
    3. Strategic Development
    4. User Experience
    5. Complex Functionality
    6. Quality Control
    7. Low return on investment
    8. Installation and setup testing

    Learn detailed explanation here

    Difference between Manual Testing & Automation Testing (Automation Testing Vs Manual Testing)?

    Let’s see the difference between Automation and Manual Testing.

    Automation Testing Vs. Manual Testing:

    Automation TestingManual Testing
    Automated testing is more reliable. It performs same operation each time. It eliminates the risk of human errors. Manual testing is less reliable. Due to human error, manual testing is not accurate all the time.
    Initial investment of automation testing is higher. Investment is required for testing tools. In the long run it is less expensive than manual. ROI is higher in the long run compared to Manual testing.Initial investment of manual testing is less than automation. Investment is required for human resources. ROI is lower in the long run compared to Automation testing.
    Automation testing is a practical option when we do regressions testing. Manual testing is a practical option where the test cases are not run repeatedly and only needs to run once or twice.
    Execution is done through software tools, so it is faster than manual testing and needs less human resources compared to manual testing. Execution of test cases is time consuming and needs more human resources
    Exploratory testing is not possible Exploratory testing is possible
    Performance Testing like Load Testing, Stress Testing etc. is a practical option in automation testing.Performance Testing is not a practical option in manual testing
    It can be done in parallel and reduce test execution time. Its not an easy task to execute test cases in parallel in manual testing. We need more human resources to do this and becomes more expensive.
    Programming knowledge is a must in automation testingProgramming knowledge is not required to do manual testing.
    Build verification testing (BVT) is highly recommendedBuild verification testing (BVT) is not recommended
    Human intervention is not much, so it is not effective to do User Interface testing.It involves human intervention, so it is highly effective to do User Interface testing.

    Refer this to learn more about the difference between automation testing and manual testing

    Automation Testing Tools

    Some of the popular automation testing tools

    • HP QTP(Quick Test Professional)/UFT(Unified Functional Testing)
    • Selenium
    • LoadRunner
    • IBM Rational Functional Tester
    • SilkTest
    • TestComplete
    • WinRunner
    • WATIR

    Read more on popular automation testing tools

    Benefits of Agile Test Automation:

    Some of the benefits of Agile Test Automation are as follows

    1. Faster Execution
    2. Reusability
    3. Higher coverage
    4. Improved accuracy
    5. More powerful
    6. Reduces cost

    Read more on the Benefits of Agile Test Automation

    Types of Test Automation Frameworks

    The most popular Test Automation Frameworks are as follows

    1. Linear Scripting Framework
    2. Modular Testing Framework
    3. Data-driven Framework
    4. Keyword Driven Testing Framework
    5. Hybrid Driven Testing Framework
    6. Behavior Driven Development Testing Framework

    Read more on Types of Test Automation Frameworks

    Automation Testing Interview Questions

    Read more on Automation Testing Interview Questions


    Here I am going to conclude this Automation Testing Tutorial. If you find any other points which we overlooked, just put it in the comments. We will include and make this post “Automation Testing Tutorial” updated.

    Here I have hand-picked a few posts which will help you to learn more interview related stuff:

    Sharing is caring.

    Share on facebook
    Share on twitter
    Share on linkedin

    Like This Post?

    We have a lot more where that came from?

    We only send really good stuff occasionally, promise.

    Rajkumar SM

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    Share on facebook
    Share on google
    Share on twitter
    Share on linkedin
    Share on whatsapp

    Recent Posts:

    Scroll to Top
    API Testing eBook