{"id":5564,"date":"2024-11-17T21:03:45","date_gmt":"2024-11-17T21:03:45","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?p=5564"},"modified":"2025-05-09T10:50:43","modified_gmt":"2025-05-09T10:50:43","slug":"automation-testing-tutorial-1","status":"publish","type":"post","link":"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-1\/","title":{"rendered":"What is Automation Testing? Guide With a Simple Example"},"content":{"rendered":"\n<p><strong>Here is the Complete Guide to start Automation Testing on Your Project. Let&#8217;s get started.&nbsp;<\/strong><\/p>\n\n\n\n<p>Let us first understand what Automation Testing is?<\/p>\n\n\n\n<p>Automation testing is a Software testing technique to test and compare the actual outcome with the expected outcome. This can be achieved by writing test scripts or using any automation testing tool. Test automation is used to automate repetitive tasks and other testing tasks that are difficult to perform manually.&nbsp;<em>  <\/em><\/p>\n\n\n  \n \n \n\n\n<h2 class=\"wp-block-heading\">The Ultimate Guide to Automation Testing<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"700\" height=\"350\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/Ultimate-Guide-to-Automation-Testing.png\" alt=\"Ultimate Guide to Automation Testing\" class=\"wp-image-299475\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/Ultimate-Guide-to-Automation-Testing.png 700w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/Ultimate-Guide-to-Automation-Testing-300x150.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Do you want to start the automation test on your project but are you struggling with the most basic steps as mentioned below:<\/mark><\/strong><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How do you introduce automation to your project?<\/li>\n\n\n\n<li>How to select the best and right automation tool?<\/li>\n\n\n\n<li>How to develop scripts effectively?<\/li>\n\n\n\n<li>How to execute and maintain test scripts?<\/li>\n\n\n\n<li>Finally, what are the best practices that you need to follow for successful automation testing?<\/li>\n<\/ul>\n\n\n\n<p>This is our attempt to enrich your knowledge with a series of tutorials on \u201c<strong>Getting Started with Automation Testing<\/strong>\u201d. This series of automation tutorials will answer all the above questions in a step-by-step manner with simple examples.<\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Let&#8217;s look at the series of Tutorials on Starting Automation on Your Project!!<\/mark><\/strong><\/span><\/p>\n\n\n\n<p><strong>Automation End-to-end Process:<\/strong><\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>Tutorial #1:<\/strong><\/mark><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-1\/\">Best Guide to Start Automation on Your Project<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #2:<\/mark><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-2\/\">Types of Automated Tests and Some Misconceptions<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #3:<\/mark><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-3\/\">10 Steps to Introduce Automation on Your Project<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #4:<\/mark><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-4\/\">The A to Z Guide on Selecting the Best Automation Tool<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #5:<\/mark><\/strong><\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"> <\/mark><a title=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-5\/\" href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-5\/\">Script Development and Automation Frameworks<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #6:<\/mark><\/strong><\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"> <\/mark><a title=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-6\/\" href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-6\/\">Execution and reporting of Automation<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #7:<\/mark><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-7\/\">Best Practices and Strategies of Test Automation<\/a><\/p>\n\n\n\n<p><strong>Automation Tips:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #8:<\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/10-tips-you-should-read-before-automating-your-testing-work\/\">10 Tips you should read before automating your testing work<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #9:<\/mark><\/strong><\/span><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"> <\/mark><a href=\"https:\/\/www.softwaretestinghelp.com\/automation-test-palnning\/\">How Does Test Planning Differ for Manual and Automation Projects<\/a><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #10:<\/mark><\/strong><\/span><\/span><\/strong> <\/mark><a href=\"https:\/\/www.softwaretestinghelp.com\/software-automation-testing-should-automate-project-testing\/\">When To Opt For Automation?<\/a><br><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #11:<\/mark><\/strong><\/span><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/manual-and-automation-testing-challenges\/\">Automation Test Challenges<\/a><br><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #12:<\/mark><\/strong><\/span><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/implement-proof-of-concept-poc-in-automation-testing\/\">Guide to Implement Proof of Concept (POC) in Automation<\/a><br><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #13:<\/mark><\/strong><\/span><a href=\"https:\/\/www.softwaretestinghelp.com\/manual-to-automation-testing-process-challenges\/\">How to Select Correct Test Cases for Automation<\/a><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #14:<\/mark><\/strong><\/span><\/span><\/strong> <\/mark><a href=\"https:\/\/www.softwaretestinghelp.com\/how-to-translate-manual-test-cases-into-automation-scripts\/\">How to Translate Manual Test Cases into Automation Scripts<\/a><\/p>\n\n\n\n<p><strong>Automation Career:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #15:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/how-to-become-better-automation-tester\/\">Tips to Become a Better Automation Tester<\/a><br><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #16:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-1\/\">Test Automation \u2013 Is it a Specialized Career? Can Normal Testers Do Automation Also?<\/a><\/p>\n\n\n\n<p><strong>Popular Automation Tools:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #17:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/selenium-tutorial-1\/\">Selenium Tutorials 31+ Best Free Selenium Training Tutorials<\/a><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #18:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><a href=\"https:\/\/www.softwaretestinghelp.com\/qtp-quicktest-professional-tutorial-1\/\">QTP Tutorials<\/a><br><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #19:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/web-services-api-testing-tool-soapui-tutorial-1\/\">SoapUI Web Services Testing Tool<\/a><br><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #20:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/hp-loadrunner-load-testing-tool-training-tutorials\/\">HP LoadRunner for Performance Testing<\/a><\/p>\n\n\n\n<p><strong>Automation Frameworks:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #21:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><a href=\"https:\/\/www.softwaretestinghelp.com\/test-automation-frameworks-selenium-tutorial-20\/\"> Why Do We Need Framework for Automation<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #22:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/test-automation-frameworks-selenium-tutorial-20\/\">Most Popular Automation Frameworks<\/a><\/p>\n\n\n\n<p><strong>Automation in Agile:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #23:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span> <\/strong><a href=\"https:\/\/www.softwaretestinghelp.com\/automation-in-agile-world\/\">How to Implement Efficient Automation in the Agile World<\/a><\/p>\n\n\n\n<p><strong>Other Automation Tools:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #24:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/top-20-automation-testing-tools\/\">Best Automation Test Tools<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #25:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/sikuli-tutorial-part-1\/\">Sikuli GUI Automation Tool<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #26:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/desktop-application-ui-automation-with-powershell\/\">PowerShell: Desktop Application UI Automation With PowerShell<\/a><br><span style=\"color: #ff6600;\"><strong><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #27:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/katalon-automation-recorder-review-tutorial\/\">Katalon Automation Recorder (Selenium IDE Alternative)<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #28:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/geb-tutorial-browser-automation-testing-using-geb-tool\/\">Geb Tool: Browser Automation Using Geb Tool<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #29:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span> <\/strong><a href=\"https:\/\/www.softwaretestinghelp.com\/autoit-tutorial-to-download-write-autoit-script\/\">AutoIt: How to Handle Windows Pop-up Using AutoIt<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #30:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/cucumber-bdd-tool-selenium-tutorial-30\/\">Cucumber: Automation Using Cucumber Tool and Selenium<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #31:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/protractor-testing-tutorial\/\">Protractor Testing Tool for End-to-end Testing of AngularJS Applications<\/a><\/p>\n\n\n\n<p><strong>Mobile Automation Testing:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #32:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/appium-studio-tutorial\/\">Appium Studio Hands-on Tutorial<\/a><br><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #33:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/appium-tutorial-for-beginners\/\">Appium Tutorial for Beginners<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #34:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/selendroid-tutorial-1\/\">Selendroid Tutorial: Android Mobile Automation Framework<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #35:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/ranorex-tutorial-1\/\">Ranorex Tutorial: A Powerful Desktop, Web, and Mobile Testing Tool<\/a><\/p>\n\n\n\n<p><strong>Domain Specific Automation Examples:<\/strong><\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #36:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/strong><\/span> <a href=\"https:\/\/www.softwaretestinghelp.com\/automated-testing-of-j2ee-applications-part-2\/\">Automation of JAVA\/J2EE Applications<\/a><\/p>\n\n\n\n<p><strong>Interview Preparation for Automation Jobs:<\/strong><\/p>\n\n\n\n<p><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #37:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/test-automation-interview-questions\/\">Automation Testing Interview Questions<\/a><br><strong><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Tutorial #38:<\/mark><\/strong><\/span><\/span><\/strong><\/mark><\/span><\/strong><\/span><\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/selenium-interview-questions-answers\/\">Selenium Interview Questions<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Let&#8217;s explore the first tutorial from \u201cThe Ultimate Guide to Automation Testing\u201d series!!<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is Automation Testing<\/h3>\n\n\n\n<p><strong>If a software can do anything then, why can&#8217;t a software test a software?<\/strong><\/p>\n\n\n\n<p><span style=\"color: #000000;\"><strong>Does this statement sound logical to you? <\/strong><\/span><\/p>\n\n\n\n<p>If yes, you are now thinking about Test Automation, which is the focal point that we are going to discuss in this series of informative tutorials.<\/p>\n\n\n\n<p>Imagine yourself on the first day at your job as an SQA. You will be presented with an application to be tested. It\u2019s an ERP application containing 100s of forms and thousands of reports. You can begin your exploratory testing by opening a form containing around 50 different fields.<\/p>\n\n\n\n<p>You try to enter random data in this form, which will take around 20 minutes. Then you press submit. An error message is shown which looks like an unhandled exception. You note down the steps and report the bug in your bug management system.<\/p>\n\n\n\n<p>You feel really confident and energetic. You continue testing until the end of the day and find some more bugs. \u201cIt has been an amazing first day\u201d, you thought.<\/p>\n\n\n\n<p><strong>Suggested reading =&gt;&gt; <a href=\"https:\/\/www.softwaretestinghelp.com\/learn-automation-testing-courses\/\">Top Online Automation Testing Courses<\/a><\/strong><\/p>\n\n\n\n<p>Now comes the next day, the developer has fixed the issue and releases a new version of the build. You test the same form with the same steps and found that the bug is fixed. You then mark it as fixed. <\/p>\n\n\n\n<p>You have contributed to the quality of the product by identifying that bug, and as this bug is fixed, the quality is improved.<\/p>\n\n\n\n<p>Now comes the third day, a developer has again released a newer version. Now you test that form to make sure that no regression issue is found. It will last for 20 minutes. You&#8217;re starting to feel a bit bored now.<\/p>\n\n\n\n<p>Now imagine 1 month from now, newer versions are constantly releasing and on every release, you have to test this lengthy form plus 100 of other forms like this, just to make sure that no regression is there.<\/p>\n\n\n\n<p>Now you feel angry and tired. You begin to skip the steps. You only fill around only 50% of the total fields. Your accuracy is not the same, your energy is not the same and definitely, your steps are not the same.<\/p>\n\n\n\n<p>And one day, the client reports the same bug in the same form. You feel pathetic. You feel unconfident now. You think you are inadequate in terms of skills. Managers are questioning your ability.<\/p>\n\n\n\n<p><strong>I have a news for you; this is the story of 90% of the manual testers out there. You are not different. <\/strong><\/p>\n\n\n\n<p>Regression issues are the most painful issues. We are humans. And we cannot do the same thing with the same energy, speed and accuracy every day. This is what machines do. <\/p>\n\n\n\n<p>Automation is required for this purpose, to repeat the same steps with the same speed, accuracy, and energy as they were repeated the first time.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/automation-testing-a-friend.jpg\"><img decoding=\"async\" width=\"314\" height=\"345\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/automation-testing-a-friend.jpg\" alt=\"automation testing a friend\" class=\"wp-image-5569\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/automation-testing-a-friend.jpg 314w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2015\/03\/automation-testing-a-friend-273x300.jpg 273w\" sizes=\"(max-width: 314px) 100vw, 314px\" \/><\/a><\/figure>\n\n\n\n<p>Whenever such a situation arises, automate your test case. <strong>Test automation is your friend<\/strong>. It will help you focus on new functionality while taking care of the regressions. With automation, you can fill that form in less than 3 minutes.<\/p>\n\n\n\n<p>The script will fill all the fields and let you know the result along with screenshots. In case of failure, it can pinpoint the location where the test case failed, thus helping you to reproduce it with ease.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"color: #ff6600;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Automation &#8211; A Cost-Effective Method for Regression Testing<\/mark><\/span><\/h3>\n\n\n\n<p>Automation costs can be really high initially. This includes the cost of the tool and the cost of the automation testing resource and his\/her training.<\/p>\n\n\n\n<p>But when the scripts are ready, they can be executed hundreds of times repeatedly with the same accuracy and rather quickly. This will save many hours of manual testing. <\/p>\n\n\n\n<p>Hence, the cost gradually decreases and ultimately it becomes a cost-effective method for <a title=\"Regression testing tools and methods\" href=\"https:\/\/www.softwaretestinghelp.com\/regression-testing-tools-and-methods\/\">Regression testing<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Scenarios That Require Automation<\/h3>\n\n\n\n<p>The above scenario is not the only case when you will need automation testing. There are several situations, which cannot be tested manually.<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>For Example,<\/strong><\/mark><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Comparing two images pixel by pixel.<\/li>\n\n\n\n<li>Comparing two spreadsheets containing thousands of rows and columns.<\/li>\n\n\n\n<li>Testing an application under the load of 100,000 users.<\/li>\n\n\n\n<li>Performance Benchmarks.<\/li>\n\n\n\n<li><a title=\"Cross browser testing tools\" href=\"https:\/\/www.softwaretestinghelp.com\/best-cross-browser-testing-tools-to-ease-your-browser-compatibility-testing-efforts\/\">Testing the application on different browsers<\/a> and on different operating systems in parallel.<\/li>\n<\/ol>\n\n\n\n<p>These situations require and should be, tested by tools.<\/p>\n\n\n\n<p><strong>So when to automate?<\/strong><\/p>\n\n\n\n<p>This is an era of <a href=\"https:\/\/www.softwaretestinghelp.com\/agile-scrum-methodology-for-development-and-testing\/\">agile methodology<\/a> in SDLC, where the development and testing will go almost in parallel and it is very difficult to decide when to automate.<\/p>\n\n\n\n<p><span style=\"color: #ff9900;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Consider the following situations before stepping into automation:<\/mark><\/strong><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The product may be in its primitive stages, when the product does not even have a UI, at these stages we must have a clear thought on what we want to automate. The following points should be remembered.\n<ul class=\"wp-block-list\">\n<li>Tests should not be obsolete.<\/li>\n\n\n\n<li>As the product evolves it should be easy to pick on the scripts and add on to it.<\/li>\n\n\n\n<li>It is very important to not get carried away and ensure that the scripts are easy to debug.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Do not attempt UI automation at the very initial stages as UI is subjected to frequent changes, thereby will lead to scripts failing. <\/li>\n\n\n\n<li>If possible, opt for API level\/Non UI level automation until the product stabilizes. API automation is easy to fix and debug.<\/li>\n<\/ul>\n\n\n\n<p><strong>How to Decide on Best Automation Cases<\/strong><\/p>\n\n\n\n<p>Automation is an integral part of a testing cycle and it is very important to decide what we want to achieve with automation before we decide to automate.<\/p>\n\n\n\n<p>The benefits that automation seems to provide are very attractive, but an ill-organized automation suite can spoil the entire game.<\/p>\n\n\n\n<p>Testers may end up debugging and fixing the scripts most of the time, resulting in loss of testing time.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Efficient-Test-Automation.jpg\"><img decoding=\"async\" width=\"600\" height=\"400\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Efficient-Test-Automation.jpg\" alt=\"Efficient Test Automation\" class=\"wp-image-17055\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Efficient-Test-Automation.jpg 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Efficient-Test-Automation-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p>This series explains you about how an automation suite can be made efficient enough to pick up the right tests cases and yield the right results with the automation scripts that we have.<\/p>\n\n\n\n<p>I have also covered the answers to questions like when to automate,&nbsp;what to automate, what not to automate and how to strategize automation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Right Tests for Automation<\/h3>\n\n\n\n<p>The best way to tackle this problem is to quickly come up with an \u201cAutomation Strategy\u201d that suits our product.<\/p>\n\n\n\n<p>The idea is to group the test cases so that each group will give us a different result. The Illustration given below shows how we can group our similar test cases, depending on the product\/solution that we are testing.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Grouping-Test-Cases.jpg\"><img decoding=\"async\" width=\"503\" height=\"433\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Grouping-Test-Cases.jpg\" alt=\"Grouping Test Cases\" class=\"wp-image-16696\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Grouping-Test-Cases.jpg 503w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2017\/10\/Grouping-Test-Cases-300x258.jpg 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a><\/figure>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>Let us now dive deep and understand what each group can help us achieve:<\/strong><\/mark><\/p>\n\n\n\n<p><strong>#1)<\/strong> Make a test suite of all the basic functionality <strong>Positive tests<\/strong>. The suite should be automated, and when the suite is run against any build, results are shown immediately. Any script failings in this suite can lead to S1 or S2 defects, and those build specifics can be disqualified. This saves a lot of time.<\/p>\n\n\n\n<p>As an additional step, we can add this automated test suite as a part of BVT (Build Verification Tests) and check the QA automation scripts into the product building process. So when the build is ready, the testers can check for the automation test results and decide if the build is suitable or not for installation and further testing process.<\/p>\n\n\n\n<p><strong>This undoubtedly fulfills the objectives of automation, which include:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reduce testing efforts.<\/li>\n\n\n\n<li>Find Bugs at earlier stages.<\/li>\n<\/ul>\n\n\n\n<p><strong>#2)<\/strong> Next, we have a group of <strong>End to End tests<\/strong>.<\/p>\n\n\n\n<p>Under large solutions, testing an end to end functionality holds the key, especially during the critical stages of the project. We should have a few automation scripts that touch upon the end to end solution tests as well. When this suite is run, the result should indicate whether the product as a whole is working as it is expected or not.<\/p>\n\n\n\n<p>Automation test suite should be indicated if any of the integration pieces are broken. This suite does not need to cover each and every small feature\/functionality of the solution but it should cover the working of the product as a whole. <\/p>\n\n\n\n<p>Whenever we have an alpha or a beta or any other intermediate releases, then such scripts come in handy and give some confidence to the customer.<\/p>\n\n\n\n<p>To understand better let&#8217;s assume that we are testing an <strong>online shopping portal<\/strong>, as part of the end to end tests we should be covering only the key steps involved as given below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User login.<\/li>\n\n\n\n<li>Browse and select items.<\/li>\n\n\n\n<li>Payment Option &#8211; this covers the front end tests.<\/li>\n\n\n\n<li>Backend order management (involves communicating with multiple integrated partners, checking stock, emailing the user etc). This will help the testing integration of individual pieces and also the crux of product.<\/li>\n<\/ul>\n\n\n\n<p>So when one such script is run it gives confidence that the solution as a whole is working fine.<\/p>\n\n\n\n<p><strong>#3)<\/strong> The third set is the <strong>Feature\/Functionality based tests<\/strong>.<\/p>\n\n\n\n<p><strong>For example<\/strong>, we may have the functionality to browse and select a file, so when we automate this we can automate cases to include a selection of different types of files, sizes of files etc, so that feature testing is done. If there are any changes\/additions to that functionality, this suite can serve as a Regression suite.<\/p>\n\n\n\n<p><strong>#4)<\/strong> Next on the list would be <strong>UI based tests.<\/strong> We can have another suite that will test purely UI based functionalities like pagination, text box character limitation, calendar button, drop downs, graphs, images and many such UI only centric features. Failure of these scripts is usually not very critical unless the UI is completely down or certain pages are not appearing as expected!<\/p>\n\n\n\n<p><strong>#5)<\/strong> We can have another set of tests that are simple but very laborious to be carried out manually. Tedious but simple tests are the ideal automation candidates, for example entering details of 1000 customers into the database has a simple functionality but is extremely tedious to do manually. Such tests should be automated. If not, they mostly end up getting ignored and not tested.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What NOT to Automate<\/h3>\n\n\n\n<p>Given below are a few tests that should not be automated. <\/p>\n\n\n\n<p><span style=\"color: #ff9900;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>#1) Negative Tests \/ Failover Tests<\/strong><\/mark><\/span><\/p>\n\n\n\n<p>We should not attempt to automate <a href=\"https:\/\/www.softwaretestinghelp.com\/what-is-negative-testing\/\">negative or failover tests<\/a>. As for those, the testers need to think analytically and negative tests are not really straightforward to give a pass or fail result which can help us.<\/p>\n\n\n\n<p>Negative tests will require a lot of manual intervention to simulate an actual disaster recovery kind of scenario. Just to exemplify that we are testing features like web services reliability and to generalize, the main aim of such tests would be to cause deliberate failures and see how well the product is reliable.<\/p>\n\n\n\n<p>Simulating the above failures are not straightforward. It can involve injecting some stubs or use some tools in between and automation is not the best way to go here.<\/p>\n\n\n\n<p><span style=\"color: #ff9900;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>#2) Ad hoc Tests<\/strong><\/mark><\/span><\/p>\n\n\n\n<p>These tests may not really be relevant to a product at all times and this may even be something that the tester could think of at the stage of project initiation. Also, the effort to automate an ad hoc test has to be validated against the criticality of the feature that the tests touch upon.<\/p>\n\n\n\n<p><strong>For example<\/strong>, a tester who is testing a feature which deals with compression\/encryption of data might have done intense ad hoc tests with a variety of data, file types, file sizes, corrupt data, a combination of data, using different algorithms, across several platforms, etc.<\/p>\n\n\n\n<p>When we plan for <a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-1\/\">automation,<\/a> we may want to prioritize and not do exhaustive automation of all the ad hoc tests for that feature alone, and end up with a little time to automate other key features.<\/p>\n\n\n\n<p><span style=\"color: #ff9900;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\"><strong>#3) Tests with massive pre-setup<\/strong><\/mark><\/span><\/p>\n\n\n\n<p>There are tests that require some enormous pre-requisites.<\/p>\n\n\n\n<p><strong>For example,<\/strong><em><strong> <\/strong><\/em>we may have a product that integrates with a 3rd party software for some functions, as the product integrates with any messaging queue system that requires installation on a system, setting up of queues, creating queues, etc.<\/p>\n\n\n\n<p>The 3<sup>rd<\/sup> party software could be anything and the setup may be complex and if such scripts are automated, then these will forever depend on the function\/setup of that 3rd party software.<\/p>\n\n\n\n<p><strong><span style=\"color: #ff9900;\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Pre-requisites include:<\/mark><\/span><\/strong><\/p>\n\n\n\n<p>Presently, things may look simple as both side setups are being done and everything is fine. Many times when a project enters the maintenance phase, the project is moved to another team, and they end up debugging such scripts where the actual test is very simple but the script fails because of a 3<sup>rd<\/sup> party software problem.<\/p>\n\n\n\n<p>The above is just an example. Keep an eye on tests that have laborious pre setups for a simple test that follows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A Simple Example of Test Automation<\/h3>\n\n\n\n<p>When you are testing a software (on the web or desktop), you normally use a mouse and keyboard to perform your steps. Automation tools mimic the same steps by using scripting or a programming language.<\/p>\n\n\n\n<p><strong>For Example<\/strong>, if you are testing a calculator and the test case is that you have to add two numbers and see the result. The script will perform the same steps by making use of your mouse and keyboard.<\/p>\n\n\n\n<p>The example is shown below:<\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Manual Test Case Steps:<\/mark><\/strong><\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Launch Calculator<\/li>\n\n\n\n<li>Press 2<\/li>\n\n\n\n<li>Press +<\/li>\n\n\n\n<li>Press 3<\/li>\n\n\n\n<li>Press =<\/li>\n\n\n\n<li>The screen should display 5.<\/li>\n\n\n\n<li>Close Calculator.<\/li>\n<\/ol>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Automation Script:<\/mark><\/strong><\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n\/\/the example is written in MS Coded UI using c# language.\n&#x5B;TestMethod]\npublic void TestCalculator()\n{\n \n\/\/launch the application\nvar app = ApplicationUnderTest.Launch(\"C:\\\\Windows\\\\System32\\\\calc.exe\");\n \n\/\/do all the operations\nMouse.Click(button2);\nMouse.Click(buttonAdd);\nMouse.Click(button3);\nMouse.Click(buttonEqual);\n \n\/\/evaluate the results\nAssert.AreEqual(\"5\", txtResult.DisplayText,\u201dCalculator is not showing 5);\n \n\/\/close the application\napp.Close();\n}\n<\/pre><\/div>\n\n\n<p>The above script is just a duplication of your manual steps. The script is easy to create and easy to understand as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What are the Assertions<\/h3>\n\n\n\n<p>The second last line of the script needs some more explanation.<\/p>\n\n\n\n<p>Assert.AreEqual(&#8220;5&#8221;, txtResult.DisplayText,\u201dCalculator is not showing 5);<\/p>\n\n\n\n<p>In every test case, we have some expected or predicted result at the end. In the above script, we have an expectation that \u201c5\u201d should be shown on the screen. The actual outcome is the result that is displayed on the screen. In every test case, we compare the expected outcome with the actual outcome.<\/p>\n\n\n\n<p>Same goes for automation testing as well. The only difference here is, when we do that comparison in test automation, then it is called something else in every tool.<\/p>\n\n\n\n<p>Some tools call it \u201c<a title=\"Selenium JUnit Assertions\" href=\"https:\/\/www.softwaretestinghelp.com\/selenium-junit-framework-selenium-tutorial-11\/\">Assertion<\/a>\u201d or \u201c<a title=\"QTP check points\" href=\"https:\/\/www.softwaretestinghelp.com\/qtp-tutorial-14-bitmap-and-text-checkpoints\/\">checkpoint<\/a>\u201d and others call it \u201cvalidation\u201d. But basically, this is just a comparison. If this comparison fails, for <strong>E.g.<\/strong> a screen is showing 15 instead of 5 then this assertion\/checkpoint\/validation fails and your test case is marked as failed.<\/p>\n\n\n\n<p>In the event that a test case fails due to an assertion, it signifies the identification of a bug through test automation. You are required to submit a report to your bug management system as you typically do during manual testing.<\/p>\n\n\n\n<p>In the above script, we have performed an assertion in the second last line. 5 is the expected outcome, txtResult. DisplayText is the actual outcome and if they are not equal, we will be shown a message that \u201cCalculator is not showing 5\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Often, testers come across project deadlines and mandates to automate all cases to improve testing estimates.<\/p>\n\n\n\n<p><strong>There are a few common \u201cwrong\u201d perceptions about automation. They are:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We can automate every test case.<\/li>\n\n\n\n<li>Automating tests will reduce testing time enormously.<\/li>\n\n\n\n<li>No bugs are introduced if automation scripts are running smoothly.<\/li>\n<\/ul>\n\n\n\n<p>There should be enough clarity that automation can reduce testing time only for certain types of tests. Automating all the tests without any plan or sequence will lead to massive scripts which are heavy maintenance, fail often and need a lot of manual intervention too. <\/p>\n\n\n\n<p>Also, in constantly evolving products, automation scripts may go obsolete and need some constant checks. Grouping and automating the right candidates will save a whole lot of time and give all the benefits of automation.<\/p>\n\n\n\n<p><strong>You can summarize this informative tutorial in just 7 points.<\/strong><\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Automation Testing:<\/mark><\/strong><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is the testing which is done programmatically.<\/li>\n\n\n\n<li>Uses the tool to control the execution of tests.<\/li>\n\n\n\n<li>Compares expected outcomes with the actual outcomes (Assertions).<\/li>\n\n\n\n<li>Can automate some repetitive but necessary tasks (<strong>E.g.<\/strong> Your regression test cases).<\/li>\n\n\n\n<li>Can automate some tasks which are difficult to do manually (E.g. Load testing scenarios).<\/li>\n\n\n\n<li>Scripts can run quickly and repeatedly.<\/li>\n\n\n\n<li>Is cost effective in the long run.<\/li>\n<\/ul>\n\n\n\n<p>In this article, automation is explained in simple terms, but that doesn\u2019t mean that it is always simple to do. There are some challenges, risks, and many other obstacles involved in it. There are several ways by which test automation can go wrong, but if all goes well, then the benefits of test automation are really huge.<\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">Upcoming ones in this series:<\/mark><\/strong><\/span><\/p>\n\n\n\n<p><strong>In our upcoming tutorials, we will discuss several aspects related to automation. <\/strong><\/p>\n\n\n\n<p><span style=\"color: #ff6600;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-contrast-color\">They will include:<\/mark><\/strong><\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Types of automated tests and some Misconceptions.<\/li>\n\n\n\n<li>How to introduce automation in your organization and avoiding common pitfalls when doing test automation.<\/li>\n\n\n\n<li>The process of selecting tools and comparing different automation tools.<\/li>\n\n\n\n<li>Script Development and Automation Frameworks with examples.<\/li>\n\n\n\n<li>Execution and reporting of Test Automation.<\/li>\n\n\n\n<li>Best Practices and Strategies of Test Automation.<\/li>\n<\/ol>\n\n\n\n<p><strong>Are you eager to learn more about the various concepts of Automation Testing? Watch out and stay tuned to our list of upcoming tutorials in this series and express your thoughts in the comments section below. We would love to hear from you. <br><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-2\/\">NEXT Tutorial#2<\/a><\/strong><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"5564\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>Here is the Complete Guide to start Automation Testing on Your Project. Let&#8217;s get started.&nbsp; Let us first understand what Automation Testing is? Automation testing is a Software testing technique to test and compare the actual outcome with the expected outcome. This can be achieved by writing test scripts or &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"What is Automation Testing? Guide With a Simple Example\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/automation-testing-tutorial-1\/#more-5564\" aria-label=\"Read more about What is Automation Testing? Guide With a Simple Example\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":299475,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-5564","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automation-testing"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts\/5564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=5564"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/posts\/5564\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/299475"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=5564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=5564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=5564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}