TEST AUTOMATION It is a software testing approach that involves using specialized tools to automate the execution of test cases and compare the actual results with expected outcomes. It aims to streamline the testing process, improve efficiency , and increase test coverage by reducing the manual effort required for repetitive and time-consuming tasks.
TEST AUTOMATION [contd .. ] The automation testing software can Enter test data into the System Under Test Compare expected and actual results Generate detailed test reports.
Which Test cases to Automate? High Risk – Business Critical test cases Test cases that are repeatedly executed Test Cases that are tedious or difficult to perform manually Test Cases which are time-consuming
Automated Testing Process Test Planning and Tool Selection Scope Definition Setup and Development of Tests Scripts Test Execution Analysis Maintenance
Automated Testing Process [contd..] Test Planning and Tool Selection Define the scope, objectives, and test coverage for automation testing. Identify all the possible test cases. Choose the appropriate automation testing tools that align with your requirements, technology, and budget. The goal is to try to automate 50 to 60 percent of manual test cases
Automated Testing Process [contd..] Scope Definition Scope is the area of your Application Under Test which will be automated. It can cover: Important and common features across applications Scenarios which have a large amount of data The extent to which business components are reused The complexity of test cases Ability to use the same test cases for cross-browser testing
Automated Testing Process [contd..] Setup and Development of Tests Scripts Set up the necessary infrastructure, including test environments, test data, and any required configurations. Create test scripts or test scenarios using the chosen automation tool, or languages such as Java, Python, or C#.
Automated Testing Process [contd..] Test Execution Execute the automated test scripts against the application or system being tested. The automation tool interacts with the application's user interface, or APIs to perform actions and validate responses.
Automated Testing Process [contd..] Analysis: Analyze the test results generated by the tool and identify if the test case fails in any case. Maintenance: Update the test cases if any new functionality is added.
TEST AUTOMATION Working example of Automation Tool: https://www.youtube.com/watch?v=_JNeiGbAgL4
Benefits of Automated Testing Faster than Manual Testing Reliable results Wider test coverage Saves Time and Cost More efficient Better Speed Reusable and Frequent Testing
Assignment 1- Discuss following types of testing: a- Alpha Testing b- Beta Testing c- Black Box Testing d- White Box Testing e- Gray Box Testing f- Acceptance Testing 2- Try to understand working of any Test automation tool