{"id":7522,"date":"2025-10-31T12:39:56","date_gmt":"2025-10-31T07:09:56","guid":{"rendered":"https:\/\/www.testleaf.com\/blog\/?p=7522"},"modified":"2025-10-31T12:40:34","modified_gmt":"2025-10-31T07:10:34","slug":"automating-sanity-testing-from-local-to-cloud","status":"publish","type":"post","link":"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/","title":{"rendered":"From Local Machines to Cloud Execution: Automating Daily Sanity Testing\u00a0"},"content":{"rendered":"<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div><!--[if lt IE 9]><script>document.createElement('audio');<\/script><![endif]-->\n<audio class=\"wp-audio-shortcode\" id=\"audio-7522-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Automating-Daily-Sanity-Testing.mp3?_=1\" \/><a href=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Automating-Daily-Sanity-Testing.mp3\">https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Automating-Daily-Sanity-Testing.mp3<\/a><\/audio>\n<p aria-level=\"2\"><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">When I first started in the world of test automation, sanity tests were run manually on <\/span><b><span data-contrast=\"auto\">local machines<\/span><\/b><span data-contrast=\"auto\">. It seemed like a quick way to get feedback, and the test suites were small enough that running them on a developer\u2019s machine wasn\u2019t a huge issue. But as our product evolved, and so did the test suite, this approach quickly became unsustainable.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Sanity testing, which was meant to give us confidence in basic functionality before moving into deeper testing, was becoming a <a href=\"https:\/\/www.testleaf.com\/blog\/from-qa-bottlenecks-to-ai-acceleration-how-testron-ai-delivers-enterprise-grade-test-authoring\/\">bottleneck<\/a>. As the tests grew in number, running them on local machines was time-consuming, error-prone, and unreliable. If a developer was tied up or a machine was under heavy load, the tests could fail simply due to environment issues.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">That\u2019s when we made the decision to <\/span><a href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/\"><b><span data-contrast=\"auto\">automate daily sanity testing in the cloud<\/span><\/b><\/a><span data-contrast=\"auto\">. The goal was simple: increase efficiency, minimize downtime, and ensure that we could continuously validate basic functionality without manual intervention. What started as a challenging transition soon became one of the most impactful decisions in our automation journey. Let me share how we made this shift and the lessons we learned along the way.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"The_Challenges_with_Running_Tests_Locally\"><\/span><b><span data-contrast=\"auto\">The Challenges with Running Tests Locally<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#The_Challenges_with_Running_Tests_Locally\" >The Challenges with Running Tests Locally\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#The_Shift_Moving_to_Cloud_Execution\" >The Shift: Moving to Cloud Execution\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#The_Benefits_We_Gained\" >The Benefits We Gained\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#Lessons_Learned\" >Lessons Learned\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#From_Chaos_to_Confidence\" >From Chaos to Confidence\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/#FAQs\" >FAQs<\/a><\/li><\/ul><\/nav><\/div>\n\n<p><span data-contrast=\"auto\">When I look back at running tests locally, the challenges were abundant and often frustrating:<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">1. Inconsistent Environments<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Each developer\u2019s machine had a slightly different setup. Dependencies like browser versions, <a href=\"https:\/\/www.ibm.com\/docs\/en\/zos\/2.5.0?topic=guide-operating-system-configurations\">OS configurations<\/a>, and the presence of background processes often led to <\/span><b><span data-contrast=\"auto\">test failures<\/span><\/b><span data-contrast=\"auto\"> that weren\u2019t caused by the application.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">2. Limited Machine Resources<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Running sanity tests locally was feasible with a small test suite, but as our test cases expanded, developers\u2019 machines struggled to handle the load. This led to slow test execution, and sometimes machines even crashed mid-run.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">3. Human Error<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Manual execution of sanity tests often relied on individual developers to trigger the runs at the right time. Human error crept in, like starting tests late, missing key <a href=\"https:\/\/www.testleaf.com\/blog\/test-case-management-tools-2026\/\">test cases<\/a>, or skipping them entirely when under tight deadlines.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">4. Lack of Parallelism<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Running tests on a single machine meant tests had to execute sequentially. This dragged down the overall speed of feedback. Waiting hours for the sanity tests to finish before developers could begin deeper testing was inefficient.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">5. Environment Drift<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Tests run locally often had issues with mismatched environments. A test could pass on one developer\u2019s machine but fail on another, or worse, fail on the CI server due to different configurations or dependencies.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-7524\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points.png\" alt=\"Why Local Sanity Testing Fails- Pain points\" width=\"1024\" height=\"1024\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points.png 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points-300x300.png 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points-150x150.png 150w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points-768x768.png 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Why-Local-Sanity-Testing-Fails-Pain-points-96x96.png 96w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span data-contrast=\"auto\">We knew we needed to automate sanity testing, but we also needed a way to ensure that it was consistent, fast, and scalable.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><strong>Other Recommended Reads:<\/strong> <a href=\"https:\/\/www.testleaf.com\/blog\/top-25-api-automation-engineer-interview-questionsin-2025-with-answers\/\">api automation interview questions<\/a><\/p>\n<p><a href=\"https:\/\/www.testleaf.com\/course\/playwright.html?utm_source=blog-post&amp;utm_medium=Organic&amp;utm_campaign=Blog_Post\"><img decoding=\"async\" class=\"aligncenter wp-image-5709 size-full\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class.png\" alt=\"Playwright automation testing\" width=\"2048\" height=\"512\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class.png 2048w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class-300x75.png 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class-1024x256.png 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class-768x192.png 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class-1536x384.png 1536w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/Playwright-online-class-150x38.png 150w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"The_Shift_Moving_to_Cloud_Execution\"><\/span><b><span data-contrast=\"auto\">The Shift: Moving to Cloud Execution<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span data-contrast=\"auto\">The solution we adopted was cloud-based test execution, which allowed us to run our sanity tests on <\/span><b><span data-contrast=\"auto\">consistent, scalable infrastructure<\/span><\/b><span data-contrast=\"auto\">. Here\u2019s how we made the transition:<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">1. Selecting the Right Cloud Platform<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">We needed a platform that could handle the scale of our tests while providing flexibility in browser and OS configurations. After evaluating several options, we decided to go with <\/span><a href=\"https:\/\/www.testleaf.com\/course\/azure-devops.html?utm_source=blog-post&amp;utm_medium=Organic&amp;utm_campaign=Blog_Post\"><b><span data-contrast=\"auto\">Azure DevOps<\/span><\/b><\/a><span data-contrast=\"auto\"> integrated with <\/span><b><span data-contrast=\"auto\">Azure Pipelines<\/span><\/b><span data-contrast=\"auto\">. This offered powerful cloud-based test execution with integrations into our CI\/CD pipeline, as well as support for parallel test execution.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">2. Setting Up a Cloud-based Grid<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Instead of running tests on a single machine, we moved to a <\/span><b><span data-contrast=\"auto\"><a href=\"https:\/\/www.testleaf.com\/blog\/how-to-setup-selenium-grid-for-cross-browser-testing\/\">Selenium Grid setup<\/a> in the cloud<\/span><\/b><span data-contrast=\"auto\">. This allowed us to run multiple tests in parallel across various combinations of browsers, operating systems, and devices. Setting up the grid in Azure was relatively easy, and we could scale it up or down as needed without worrying about resource constraints.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">3. Integrating with CI\/CD Pipelines<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">With <\/span><b><span data-contrast=\"auto\">Azure Pipelines<\/span><\/b><span data-contrast=\"auto\">, we set up automated jobs to trigger sanity tests <\/span><b><span data-contrast=\"auto\">every day<\/span><\/b><span data-contrast=\"auto\"> at the same time, first thing in the morning. No more waiting on individual machines. The tests were kicked off automatically whenever a new build was pushed. This integration meant that sanity testing was no longer something we did manually but a seamless part of our <\/span><b><span data-contrast=\"auto\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/CI\/CD\">CI\/CD<\/a> process<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">4. Optimizing Test Execution with Parallelism<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">By leveraging the power of the cloud, we could run sanity tests in parallel across different virtual machines. This drastically reduced the execution time of our test suite, and we could now get immediate feedback from multiple browsers and OS configurations, all within minutes.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">5. Managing Test Data and Dependencies<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">One challenge we encountered in the cloud was managing the <\/span><b><span data-contrast=\"auto\">test data<\/span><\/b><span data-contrast=\"auto\"> and ensuring that the environments were clean and consistent. We solved this by setting up <\/span><b><span data-contrast=\"auto\">containerized test environments<\/span><\/b><span data-contrast=\"auto\"> that were created from scratch for each run. This approach ensured that the environment was always consistent, and we could control dependencies more effectively.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7525\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow.png\" alt=\"Cloud-Based Sanity Testing Workflow\" width=\"1312\" height=\"736\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow.png 1312w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow-300x168.png 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow-1024x574.png 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow-768x431.png 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Cloud-Based-Sanity-Testing-Workflow-150x84.png 150w\" sizes=\"(max-width: 1312px) 100vw, 1312px\" \/><\/p>\n<p><strong>Additional Resources:<\/strong> <a href=\"https:\/\/www.testleaf.com\/blog\/2025-top-automation-testing-infosys-interview-questions-with-expert-answers-from-testleaf-for-2-to-5-years-experience\/\">automation testing interview questions<\/a><\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"The_Benefits_We_Gained\"><\/span><b><span data-contrast=\"auto\"><a href=\"https:\/\/www.testleaf.com\/blog\/3-major-components-of-selenium-ide-know-the-benefits-of-each-components\/\">The Benefits<\/a> We Gained<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span data-contrast=\"auto\">After the transition to cloud-based test execution, the impact was immediate:<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">1. Speed and Efficiency<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Tests that once took several hours to execute now ran in <\/span><b><span data-contrast=\"auto\">minutes<\/span><\/b><span data-contrast=\"auto\">. Parallel execution meant we could test different browser versions simultaneously. This saved precious time for the development team, who could start deeper testing much sooner.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/www.testleaf.com\/course\/genai-qa-engineers-training-course.html?utm_source=blog-post&amp;utm_medium=Organic&amp;utm_campaign=Blog_Post\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5555 size-full\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI.png\" alt=\"Babu's Gen AI\" width=\"2048\" height=\"512\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI.png 2048w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI-300x75.png 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI-1024x256.png 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI-768x192.png 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI-1536x384.png 1536w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Babus-Gen-AI-150x38.png 150w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/p>\n<h4><b><span data-contrast=\"auto\">2. Consistency Across Environments<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Running sanity tests in the cloud meant that the <\/span><b><span data-contrast=\"auto\">environment was standardized<\/span><\/b><span data-contrast=\"auto\">. We eliminated the inconsistencies that arose from local machines. Now, the tests ran in the same environment every time, with the same configurations, ensuring <\/span><b><span data-contrast=\"auto\">reliable results<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">3. Scalability<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">As our test suite grew, so did the need for <\/span><b><span data-contrast=\"auto\">increased resources<\/span><\/b><span data-contrast=\"auto\">. The cloud allowed us to scale our infrastructure easily. If we needed to run tests on new browsers, devices, or configurations, we could add them to our cloud-based grid without any additional hardware or setup.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">4. Reduced Human Error<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Automating sanity tests through the cloud removed the need for manual intervention. Tests ran without fail, exactly when they were supposed to. Developers no longer had to remember to start tests manually or worry about missing <a href=\"https:\/\/www.testleaf.com\/blog\/is-chatgpt-changing-the-game-in-test-case-writing\/\">test cases<\/a>. The process was automated end-to-end.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">5. Improved Developer Confidence<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">With daily sanity tests automatically triggered in the cloud, developers gained confidence in the basic functionality of the application right from the start of the day. This early feedback allowed them to catch critical issues before diving into more complex testing.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7526\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing.png\" alt=\"Benefits of Cloud-Based Sanity Testing\" width=\"1312\" height=\"736\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing.png 1312w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing-300x168.png 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing-1024x574.png 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing-768x431.png 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/10\/Benefits-of-Cloud-Based-Sanity-Testing-150x84.png 150w\" sizes=\"(max-width: 1312px) 100vw, 1312px\" \/><\/p>\n<p><strong>Don\u2019t Miss Out:<\/strong> <a href=\"https:\/\/www.testleaf.com\/blog\/epam-interview-questions-with-answers\/\">Epam interview questions<\/a><\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"Lessons_Learned\"><\/span><b><span data-contrast=\"auto\">Lessons Learned<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span data-contrast=\"auto\">While the transition to cloud-based test execution brought significant benefits, there were several lessons we learned along the way:<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">1. Cloud Resources Are Not Infinite<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">While scaling in the cloud is easy, it\u2019s important to <\/span><b><span data-contrast=\"auto\">monitor resource usage<\/span><\/b><span data-contrast=\"auto\">. We initially faced some unexpected <\/span><b><span data-contrast=\"auto\">cost overruns<\/span><\/b><span data-contrast=\"auto\"> when we didn\u2019t manage parallel execution efficiently. It\u2019s important to balance the speed of execution with budget constraints.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">2. Build a Robust Test Suite<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">A robust set of <\/span><b><span data-contrast=\"auto\">sanity tests<\/span><\/b><span data-contrast=\"auto\"> is essential for cloud execution. Inconsistent or unreliable tests can cause your automated cloud runs to fail, which can make it harder to trust the system. We spent time refining our tests to ensure they were stable and effective for automation.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/www.testleaf.com\/course\/selenium-automation-certification-training-course.html?utm_source=blog-post&amp;utm_medium=Organic&amp;utm_campaign=Blog_Post\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5159 size-full\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium.jpg\" alt=\"Selenium training in chennai\" width=\"2048\" height=\"512\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium.jpg 2048w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium-300x75.jpg 300w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium-1024x256.jpg 1024w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium-768x192.jpg 768w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium-1536x384.jpg 1536w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/06\/Selenium-150x38.jpg 150w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/p>\n<h4><b><span data-contrast=\"auto\">3. Use Test Result Analytics<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Cloud-based test execution gives you access to <\/span><b><span data-contrast=\"auto\">rich test result data<\/span><\/b><span data-contrast=\"auto\">, including logs, screenshots, and videos. We implemented a system to <\/span><b><span data-contrast=\"auto\">analyze failures<\/span><\/b><span data-contrast=\"auto\"> automatically, which helped us identify flaky tests or environmental issues faster.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4><b><span data-contrast=\"auto\">4. Collaborate with DevOps Early<\/span><\/b><\/h4>\n<p><span data-contrast=\"auto\">Moving to the cloud requires collaboration with the <\/span><b><span data-contrast=\"auto\">DevOps team<\/span><\/b><span data-contrast=\"auto\"> to configure the infrastructure properly. Ensuring the cloud test grid and pipeline integration are seamless is key.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h2><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"From_Chaos_to_Confidence\"><\/span><b><span data-contrast=\"auto\">From Chaos to Confidence<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span data-contrast=\"auto\">Automating our daily sanity tests in the cloud was a pivotal moment in our automation journey. It not only improved the efficiency and consistency of our testing but also allowed us to scale as our product grew.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">What began as a cumbersome, local, and manual process is now a fully automated, reliable, and scalable part of our CI\/CD pipeline. We gained speed, confidence, and peace of mind, knowing that basic functionality was tested every day without fail, and without relying on individual developer machines.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For any team still running sanity tests manually on local machines, my advice is simple: <\/span><b><span data-contrast=\"auto\">take the leap to the cloud<\/span><\/b><span data-contrast=\"auto\">. It may take time to set up, but the long-term benefits in terms of speed, scalability, and consistency will pay off immensely.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 data-start=\"646\" data-end=\"679\"><span class=\"ez-toc-section\" id=\"FAQs\"><\/span><strong data-start=\"653\" data-end=\"677\">FAQs<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-start=\"681\" data-end=\"873\"><strong data-start=\"681\" data-end=\"725\">1. What is sanity testing in automation?<\/strong><br data-start=\"725\" data-end=\"728\" \/>Sanity testing ensures that key functionalities of an application work as expected before deeper testing begins, saving time and reducing risk.<\/p>\n<p data-start=\"875\" data-end=\"1065\"><strong data-start=\"875\" data-end=\"917\">2. Why move sanity tests to the cloud?<\/strong><br data-start=\"917\" data-end=\"920\" \/>Cloud execution offers speed, consistency, scalability, and parallel testing \u2014 helping teams eliminate environment issues and human dependency.<\/p>\n<p data-start=\"1067\" data-end=\"1267\"><strong data-start=\"1067\" data-end=\"1126\">3. Which tools are best for cloud-based test execution?<\/strong><br data-start=\"1126\" data-end=\"1129\" \/>Tools like <strong data-start=\"1140\" data-end=\"1156\">Azure DevOps<\/strong>, <strong data-start=\"1158\" data-end=\"1175\">Selenium Grid<\/strong>, and <strong data-start=\"1181\" data-end=\"1192\">Jenkins<\/strong> integrate easily with CI\/CD pipelines to enable automated cloud testing.<\/p>\n<p data-start=\"1269\" data-end=\"1475\"><strong data-start=\"1269\" data-end=\"1331\">4. How does parallel execution improve testing efficiency?<\/strong><br data-start=\"1331\" data-end=\"1334\" \/>Parallelism allows multiple tests to run simultaneously, reducing execution time from hours to minutes and accelerating developer feedback.<\/p>\n<p data-start=\"1477\" data-end=\"1671\"><strong data-start=\"1477\" data-end=\"1528\">5. What are key challenges in cloud automation?<\/strong><br data-start=\"1528\" data-end=\"1531\" \/>Managing cloud resources, maintaining clean environments, and ensuring test stability are crucial for cost-efficient, reliable automation.<\/p>\n<h5><strong>We Also Provide Training In:<\/strong><\/h5>\n<ul>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/selenium-automation-certification-training-course.html\"><strong>Advanced Selenium Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/playwright.html\"><strong>Playwright Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/genai-qa-engineers-training-course.html\"><strong>Gen AI Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/aws-cloud-architect-certification-training-course.html\"><strong>AWS Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/rest-api-testing-certification-training-course.html\"><strong>REST API Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/full-stack-developer-certification-training-course.html\"><strong>Full Stack Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/appium-mobile-automation-certification-training-course.html\"><strong>Appium Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/dev-ops-master-certification-training-course.html\"><strong>DevOps Training<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/www.testleaf.com\/course\/apache-jmeter-testing-training-course.html\"><strong>JMeter Performance Training<\/strong><\/a><\/li>\n<\/ul>\n<h6><strong>Author\u2019s Bio<\/strong>:<\/h6>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6744 size-full alignleft\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/09\/Kadhir.png\" sizes=\"(max-width: 200px) 100vw, 200px\" srcset=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/09\/Kadhir.png 200w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/09\/Kadhir-150x150.png 150w, https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/09\/Kadhir-96x96.png 96w\" alt=\"Kadhir\" width=\"200\" height=\"200\" \/><\/p>\n<p>Content Writer at Testleaf, specializing in SEO-driven content for test automation, software development, and cybersecurity. I turn complex technical topics into clear, engaging stories that educate, inspire, and drive digital transformation.<\/p>\n<p><strong>Ezhirkadhir Raja<\/strong><\/p>\n<p>Content Writer \u2013 Testleaf<\/p>\n<p><a href=\"http:\/\/linkedin.com\/in\/ezhirkadhir\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.testleaf.com\/blog\/wp-content\/uploads\/2025\/07\/linkedin.png\" alt=\"LinkedIn Logo\" width=\"28\" height=\"28\" \/><\/a><\/p>\n<p><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 When I first started in the world of test automation, sanity tests were run manually on local machines. It seemed like a quick way to get feedback, and the test suites were small enough that running them on a developer\u2019s machine wasn\u2019t a huge issue. But as our product evolved, and so did the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.testleaf.com\/blog\/automating-sanity-testing-from-local-to-cloud\/\"> <span class=\"screen-reader-text\">From Local Machines to Cloud Execution: Automating Daily Sanity Testing\u00a0<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":7523,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[42],"tags":[372,476,935,934,43,46],"class_list":["post-7522","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-testing","tag-ai","tag-ai-in-software-testing","tag-cloud","tag-sanity-testing","tag-software-testing","tag-testing"],"acf":[],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/posts\/7522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/comments?post=7522"}],"version-history":[{"count":2,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/posts\/7522\/revisions"}],"predecessor-version":[{"id":7529,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/posts\/7522\/revisions\/7529"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/media\/7523"}],"wp:attachment":[{"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/media?parent=7522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/categories?post=7522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testleaf.com\/blog\/wp-json\/wp\/v2\/tags?post=7522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}