{"id":2242,"date":"2020-03-20T11:32:11","date_gmt":"2020-03-20T11:32:11","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=2242"},"modified":"2025-06-16T07:18:56","modified_gmt":"2025-06-16T11:18:56","slug":"introduction-automation-testing","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/introduction-automation-testing\/","title":{"rendered":"Introduction to Automation Testing"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Manual Testing Vs Automation Testing<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Manual Testing is the most primitive process of manually identifying the bugs in the software systems. As the name suggests, manual testing is performed by a human sitting in front of a system and carefully executing test steps as designed in a manual test case. A newly developed application must be tested manually first before automation testing is done. The primary goal of Manual Testing is to ensure that the application is error-free and is working accordingly based on the requirements.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">On the other hand, automation testing is the method of using automation tools to write and execute test cases on the software application. An automation testing tool will execute the test steps, compare the expected results with the actual results, and determine if the step is passed or failed.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>What is Automation Testing?<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Any activity or task performed by using an automation tool is called Automation Testing. Automation Testing is a type of Software Testing where testers execute test cases using automation tools. Test Automation mainly focuses on replacing manual human intervention with devices. Because automation testing is performed through an automation tool like Selenium, QTP, Load Runner, it takes less time in exploratory tests and takes more time in maintaining test scripts.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Why and When to Automate<\/b><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">When repeated test case execution is required<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">When frequent regression testing is needed<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Reduce the Human Effort<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">When the same application needs to test on multiple environments<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">User Acceptance Tests<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Can share faster feedback to the developers<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Different Automation Tools<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In the present market, we have different automation tools<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Selenium<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">RFT<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">QTP<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">SOA Test<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Silk Test<\/span><\/li>\n<\/ol>\n\n\n\n<p><span style=\"font-weight: 400;\">RFT, QTP, Silk Test and SOA Test are Licensed tools and whereas <a href=\"https:\/\/www.h2kinfosys.com\/courses\/selenium-automation-testing-certification-course\/\" data-type=\"link\" data-id=\"https:\/\/www.h2kinfosys.com\/courses\/selenium-automation-testing-certification-course\/\">Selenium testing<\/a> is an open-source tool.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Advantages of Automation Testing<\/b><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">It reduces the cost of testing<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">It reduces test execution time\u00a0<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Reporting is the essay to share the result reports generated by tool which have total no of test executed, passed and failed.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Reusability of scripts on other applications having similar functionality<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">More software releases are expected<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Consistency and Effectiveness( Can run the scripts at any time and any number of times)<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">It enormously increases the 100% test coverage<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">It allows us to test our application from different perspectives.<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b><span style=\"color: #0a9e01;\">Disadvantages<\/span> of Automation Testing<\/b><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Debugging the test script is a major issue. If any error occurs in the test script, it may lead to deadly consequences.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Proficiency is needed to write the automation test scripts.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Maintenance of test data is difficult.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Maintenance of test is costly in case of playback methods. Even when a minor change occurs in the GUI, the test script has to be recorded or should be replaced by a new test script.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Testers should have basic programming knowledge<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Testers should have experience in writing automation test scripts.<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Advantages of Test Automation over Manual Testing<\/b><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Saves time and human effort<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Improves test accuracy<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">It offers full test coverage<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Maintenance cost is reduced<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Increases in test case efficiency<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Increases test execution speed<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Reduces manual intervention<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>When to automate an application<\/b><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Requirements which do not change frequently<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Once the application is steady<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">When have sufficient time<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Large and serious projects<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Projects which need to test the same areas often<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Different testing tools available in Automation testing<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Below are the tools which can help us in Automation Testing<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Selenium<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">QTP( Quick Test Professional)<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">LoadRunner<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">SilkTest<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Watir<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">IBM RFT(Rational Functional Tester)<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Automation Life Cycle<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">The Automation life cycle has the following phases<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"648\" height=\"484\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/03\/Screenshot_54.png\" alt=\"\" class=\"wp-image-2244\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/03\/Screenshot_54.png 648w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/03\/Screenshot_54-300x224.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Automation Feasibility Analysis<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In this phase, you check if the application can be automated or not. As all applications can\u2019t be automated due to its limitations and we need to select the appropriate tool that fits your requirement.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Strategy<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In this phase, you choose the right test automation framework. There are various kinds of frameworks to choose and each framework has its own significance.<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Linear Scripting Framework<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Modular Framework<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Hybrid Testing Framework<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Data-Driven Testing Framework<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Keyword Driven Testing Framework<\/span><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Environment Set Up<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Upon choosing the framework, the next is to set up the test environment and gather the required hardware and software resources to execute the automated test cases.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Script Development<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In this phase, you start developing the automation test scripts. Framework development is the most important for any test automation project. The developed scripts are written should be well-structured, reusable and well documented.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Case Execution<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In this phase, you execute the test cases.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Test Result Generation<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">In this last phase, results are analyzed and defects are logged in the test management tool.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Automation Testing Approaches<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">There are three general approaches to test automation<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<ol class=\"wp-block-list\">\n<li><b>Code-driven Testing:<\/b><span style=\"font-weight: 400;\"> This method is popularly used in agile software development. It mainly focuses on test case execution in order to find out if the various sections of code are performing as per expectations or not. In this testing classes and modules are tested with a variety of input arguments to ensure that the results that are returned are correct.<\/span><\/li>\n\n\n\n<li><b>Graphical User Interface (GUI) testing:<\/b><span style=\"font-weight: 400;\"> Using this approach we can test the applications that have GUIs. Testers can record the actions performed by the user and analyze them any number of times. Test cases can be written in any programming languages like Java, C#, Python, Ruby, Perl.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Test Automation Framework: <span style=\"font-weight: 400;\">Framework<\/span> <span style=\"font-weight: 400;\">is<\/span> <span style=\"font-weight: 400;\">a platform for developing software applications. It is used to produce beneficial results in the automated testing activity. <\/span><\/b><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"color: #0a9e01;\"><b>Conclusion<\/b><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">If testing is frequently needed, then we should go for automation testing; otherwise, manual testing can be a better fit. The right selection of automation tools, <a href=\"https:\/\/www.h2kinfosys.com\/courses\/selenium-automation-testing-certification-course\/\" data-type=\"link\" data-id=\"https:\/\/www.h2kinfosys.com\/courses\/selenium-automation-testing-certification-course\/\">Selenium training<\/a> for the team, proper testing processes, and appropriate team composition are the key players in making automation testing successful.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manual Testing Vs Automation Testing Manual Testing is the most primitive process of manually identifying the bugs in the software systems. As the name suggests, manual testing is performed by a human sitting in front of a system and carefully executing test steps as designed in a manual test case. A newly developed application must [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":27035,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[156,390,155],"class_list":["post-2242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-selenium-tutorials","tag-automation-testing","tag-introduction","tag-manual-testing"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/2242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=2242"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/2242\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/27035"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=2242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=2242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=2242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}