<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Qualityholics on Medium]]></title>
        <description><![CDATA[Stories by Qualityholics on Medium]]></description>
        <link>https://medium.com/@qualityholics?source=rss-d9d5bae30c2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*utrzxZT21utN4LL1</url>
            <title>Stories by Qualityholics on Medium</title>
            <link>https://medium.com/@qualityholics?source=rss-d9d5bae30c2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:07:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@qualityholics/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Agile Software Development: Navigating the Landscape of Efficiency and Flexibility]]></title>
            <link>https://qualityholics.medium.com/agile-software-development-navigating-the-landscape-of-efficiency-and-flexibility-649d0837c017?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/649d0837c017</guid>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 03:36:43 GMT</pubDate>
            <atom:updated>2023-12-06T03:36:43.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*X0PbEq96GWdz80swd03j-g.png" /></figure><p>In the ever-evolving realm of software development, the Agile methodology has emerged as a transformative approach, emphasizing adaptability, collaboration, and iterative progress. At its core, Agile is a project management and product development strategy that prioritizes flexibility and customer satisfaction. Unlike traditional methodologies that follow a rigid, linear path, Agile embraces change, allowing teams to respond swiftly to evolving requirements and deliver incremental value throughout the development process.</p><p>Types of Agile Methodologies: Navigating the Diverse Landscape</p><p>1. <strong>Scrum</strong>:</p><p>Scrum is a widely adopted Agile framework that organizes work into time-boxed iterations called sprints, typically lasting two to four weeks. It relies on cross-functional teams working collaboratively to deliver a potentially shippable product increment after each sprint, ensuring regular adaptation to changing requirements.</p><p>2. Kanban:</p><p>Kanban focuses on visualizing the workflow on a board, with an emphasis on continuous delivery. Work items move through various stages, and the team aims to optimize flow and efficiency by managing work in progress. Kanban doesn’t prescribe fixed iteration lengths, providing more flexibility in responding to changes in priorities.</p><p>3. Extreme Programming (XP):</p><p>XP places a strong emphasis on technical excellence and customer involvement. It promotes practices such as pair programming, continuous integration, and frequent releases to ensure high-quality software. XP is particularly suitable for projects with rapidly changing requirements and a need for continuous feedback.</p><p>4. Lean Software Development:</p><p>Derived from lean manufacturing principles, Lean Software Development focuses on delivering value to the customer while minimizing waste. It emphasizes optimizing efficiency by eliminating non-value-added activities, promoting continuous improvement, and maintaining a customer-centric approach.</p><p>Agile Ceremonies: Orchestrating Collaboration</p><p>1. Sprint Planning:</p><p>Establishing the goals for the upcoming sprint and determining the tasks required to achieve them. The team collaboratively selects user stories and breaks them down into manageable tasks, ensuring a shared understanding of the sprint’s objectives.</p><p>2. Daily Stand-ups:</p><p>Brief, daily meetings to discuss progress, challenges, and upcoming tasks, fostering team communication. Team members share updates on their work, identify impediments, and coordinate efforts to address any issues promptly.</p><p>3. Sprint Review:</p><p>Evaluating the completed work during a sprint and obtaining feedback from stakeholders. The team showcases the delivered features, gathers input from stakeholders, and incorporates feedback into the next sprint, ensuring alignment with customer expectations.</p><p>4. Sprint Retrospective:</p><p>Reflecting on the recent sprint to identify areas for improvement in processes and teamwork. Team members discuss what went well, what could be improved, and collaboratively decide on action items to enhance future sprints.</p><p>Agile Key Roles and Responsibilities: Navigating Team Dynamics</p><p>1. Product Owner:</p><p>Defines and prioritizes features, acts as a bridge between stakeholders and the development team. The Product Owner is responsible for maintaining a well-defined product backlog, ensuring that the team works on the most valuable features aligned with business goals.</p><p>2. Scrum Master:</p><p>Facilitates the Scrum process, removes impediments, and ensures the team adheres to Agile principles. The Scrum Master fosters a collaborative and self-organizing team environment, enabling continuous improvement and a focus on delivering value.</p><p>3. Development Team:</p><p>Cross-functional members responsible for delivering a potentially shippable product increment. The Development Team collaboratively works on user stories, actively participates in sprint ceremonies, and takes ownership of delivering high-quality software within the defined timelines.</p><p>Pros and Cons of Agile: A Balanced Perspective</p><p>Pros:</p><p>1. Flexibility: Agile embraces change, allowing teams to adapt quickly to evolving requirements. This flexibility ensures that the delivered product remains aligned with customer needs throughout the development process.</p><p>2. Customer Satisfaction: Continuous delivery and frequent feedback loops ensure alignment with customer expectations. Regular customer involvement leads to a product that better meets user needs and increases overall satisfaction.</p><p>3. Team Collaboration: Cross-functional teams working collaboratively foster a culture of shared responsibility. The emphasis on open communication and collaboration enhances teamwork, leading to improved problem-solving and creativity.</p><p>Cons:</p><p>1. Documentation Challenges: The emphasis on working software may lead to insufficient documentation. While Agile prioritizes working solutions over comprehensive documentation, striking the right balance is essential to ensure clarity and knowledge transfer within the team and for future maintainers.</p><p>2. Resistance to Change: Traditional organizations may face challenges in transitioning to Agile practices. The shift from a traditional, plan-driven approach to Agile can encounter resistance from established workflows and organizational structures, requiring careful change management.</p><p>3. Resource Intensive: The iterative nature of Agile can demand a high level of involvement from team members. Continuous collaboration, regular meetings, and the need for rapid adaptation may increase the workload on team members, potentially impacting productivity and work-life balance.</p><p>In conclusion, Agile methodologies provide a dynamic framework for software development, offering a suite of approaches to cater to diverse project needs. As with any methodology, careful consideration of the specific context and project requirements is crucial for successful implementation. The iterative nature of Agile, coupled with its emphasis on collaboration and adaptability, positions it as a valuable approach for modern software development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=649d0837c017" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t let Flaky test cases affect your test suite; How to avoid and deal with flaky test cases in…]]></title>
            <link>https://qualityholics.medium.com/dont-let-flaky-test-cases-affect-your-test-suite-how-to-avoid-and-deal-with-flaky-test-cases-in-822f6343ef6e?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/822f6343ef6e</guid>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 03:31:52 GMT</pubDate>
            <atom:updated>2023-12-06T03:31:52.328Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Don’t let Flaky test cases affect your test suite; How to avoid and deal with flaky test cases in Cypress</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*MRtVqgAkG-35Cwj5iOm6cw.png" /></figure><h3>What is a flaky test case?</h3><p>If you have noticed few of your test cases have failed intermittently in the same environment in several runs; Congratulations, you have found some flaky tests in your code. Sometimes the tests might be working fine in your local environment, but those tests fail when they run in the CI/CD pipeline. This will directly affect the correctness of the test results.</p><p>You can identify these flaky tests by monitoring the test results of your Cypress tests of several runs without doing any code change. Sometimes those test cases fail and sometimes pass.</p><p>Flaky test cases are big red flags as there can be reasons for bug leakage.</p><h3>What are the reasons for Flaky test cases?</h3><p>There may be many reasons for a flaky test case. Few of them are,</p><p>1. <strong>Test Data</strong> — Sometimes test data such as dates, and random values can be changed in test runs due to data corruption and dependency on other test data. Hardcoded data can be a reason for this flakiness.</p><p>2. <strong>Timeouts</strong> — Test steps that depend on loading time can fail due to the required elements/test steps not loading. The main results of this issue are network inconsistency and delays in the network.</p><p>3. <strong>Environment Dependencies </strong>— Differences between the local environment machine and CI such as network speed, number of CPUs, libraries, and the differences in operating systems can cause this. If the environment is a shared one, then it will wave flaky tests.</p><p>4. <strong>Unpredictable test results </strong>— This will be a cause of flaky tests as sometimes test results are unpredictable due to the test case order or parallel execution, this will generate random issues.</p><p>5. <strong>Bad test design </strong>— Because of a poorly designed test framework, bad test case order or lack of error handling can also make flaky test cases.</p><h3>How to fix flaky test cases?</h3><p>If you find any flaky test, you need to log it and try to fix it as soon as possible as that test will be a potential bug and you might miss the bug by considering that it’s only a flaky test case.</p><p>1. Adding retries</p><p>You can add two types of configurations to achieve retry as per your need</p><p>a. <strong>Global Configuration</strong> — This will define the retry attempts for <strong>runMode</strong> and <strong>openMode</strong>.<br> runMode is used when you run your test suite by using <strong>cypress run </strong>command.</p><p>openMode is used when you run your suite by using <strong>cypress open</strong> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*keZKRejU7V89Us_gACoC3A.png" /></figure><p>These values should be passed in the cypress configurations file.</p><p>You can use the bellow code if you want to configure the same retry attempt for both <strong>cypress run </strong>and <strong>cypress open .</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*p-yjZeHYalUivryyDp3big.png" /></figure><p><strong>b. Custom Configuration — </strong>You can configure the number of retries in the test case/test suite level by adding the below code to the test’s configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*rbT_kdr--JFqFds30sCaVA.png" /></figure><p>2. Add <strong>exist</strong> and <strong>visible</strong> assertions before clicking on an element</p><p>Before performing an action on an element is better to locate the element by using .should(‘exist’), .should(‘be.visible’) assertions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*hvJ_FAg8mv6ihQ6m74iEKg.png" /></figure><p>3. Use cy.wait(time) command</p><p>This custom command will wait for the given time to load DOM elements. But this is not always the best way to fix the flakiness as this arbitrary wait will make your code slow. So use this with caution.</p><p>4. Reduce inconsistency in requests</p><p>When tests make network requests, they can be inconsistent. Tests will continuously run even though the network request does not return a response, and gets fails.</p><p>To make sure you get a successful response, you can use the command <strong>cy.intercept() </strong>.</p><h3>When to be careful and prevent flaky test cases?</h3><p>Most of the time flaky tests are expensive to repair. It takes more hours to debug since the actual reason is not visible. So, it’s always better to try to avoid creating flaky test cases when writing the code.</p><p>Be careful when you write your test case if you see any red flags mentioned below.</p><p>1. If you do not have an isolated test environment for test runs</p><p>2. When your tests depend on previous tests</p><p>3. All the tests using a fixed waiting time</p><p>4. Writing a test script for complex functionality, so the code has many lines and many logics</p><p>5. When you use unpredictable test data such as date and time</p><h3>Conclusion</h3><p>It’s always easier to write proper tests than to maintain and debug flaky test cases. So, try to avoid having flaky tests in your Cypress test suite. If you already have a few, then try to quarantine and fix those.</p><p>Happy coding!</p><h3>References :</h3><p>1. <a href="https://www.cypress.io/blog/2021/05/06/live-webcast-flaky-test-management-with-cypress">https://www.cypress.io/blog/2021/05/06/live-webcast-flaky-test-management-with-cypress</a></p><p>2. <a href="https://docs.cypress.io/guides/guides/test-retries">https://docs.cypress.io/guides/guides/test-retries</a></p><p>3. <a href="https://docs.cypress.io/guides/cloud/flaky-test-management">https://docs.cypress.io/guides/cloud/flaky-test-management</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=822f6343ef6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beginners guide to Test Automation with Cypress]]></title>
            <link>https://qualityholics.medium.com/beginners-guide-to-test-automation-with-cypress-305474f76ca8?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/305474f76ca8</guid>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Wed, 01 Nov 2023 11:16:19 GMT</pubDate>
            <atom:updated>2023-11-01T11:16:19.804Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s world, test automation has become an essential part of the software development process, aiming to improve the speed, quality, and reliability of software products. While there are several popular frameworks in the industry, Cypress has gained popularity among automation testers due to its unique features.</p><p><strong>What is Cypress?</strong></p><p>Cypress is an open-source JavaScript-based end-to-end (E2E) test automation tool that provides a set of powerful tools for test scripting, debugging, and test execution. Even though Cypress is an end-to-end testing framework, with its new features, we can even automate component testing and API testing with one framework.</p><p><strong>How does cypress elevate your testing experience?</strong></p><p>· Easy to setup and use</p><p>· Test execution is faster when comparing to other frameworks.</p><p>· Cypress takes snapshots at every step and enables us to go back and see what happens.</p><p>· Cypress has automatic waiting, therefore we do not need to add waits or sleeps for our test script.</p><p>· Easy to debug.</p><p><strong>Install Cypress.</strong></p><p>Since Cypress requires Node.js to run tests, you have to install Node.js on your computer first. You can download it and install it here: <a href="https://nodejs.org/en">https://nodejs.org/en</a></p><p>Before installing Cypress, we need to run the <em>npm init</em> command and initialize a new Node.js project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*5t-juZF48zyeXGSvNFJNhA.png" /></figure><p>Then run the following command to install the Cypress Lates version:</p><p><em>npm install cypress — save-dev</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*02tDJv6gbcn8icYUKsQnWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*5RnYWxFm3NsCiWhCeLMK9w.png" /></figure><p>After the installation, we can open the package.json file and verify the Cypress version in “devDependencies”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*XtKEPS3MJhq-MgjhL50AiA.png" /></figure><p>Now the installation is complete. The next step is to open the Cypress project. For that, we need to run the following command:</p><p><em>npx cypress open</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1AzZ-iCbOjwUIZu2ZCLFzQ.png" /></figure><p>Next, we will get a window like this. This is called cypress test runner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cmed_ql0ns4Ai3kLgkH8-A.png" /></figure><p>Next, we have to select “E2E Testing” or “Component Testing” based on our requirements. Since our focus is on E2E testing, now select E2E testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cL2EnnS3JOVEnaB4htpKdA.png" /></figure><p>Then Cypress will create the above configuration files for our project automatically. We can continue here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*hxoAiF--Fcre3ig92psRpw.png" /></figure><p>In the next step, we can choose a browser. Our test scripts will run on the browser we choose now. In every time from now onward, when you run <em>npx cypress open</em> command, you will start from here. Select a browse and start E2E Testing in Cypress.</p><p>Next, it will open our test scripts in the selected browser. Since it is our first time opening this Cypress project, we will get a window as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*hnZJn6ZcX-9a3UYzvleePA.png" /></figure><p>Cypress will give us several example script files to guide us on how to write tests in scripts if we choose “Scaffold example specs”.</p><p>But we will select the “Create new spec” option. Now we will get an option to enter our file name. Please note that to each of every file that contains our test scripts must be in the e2e folder, and those file types should end as “cy.js”</p><p>ex:- yourFileName.cy.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*IqDeqALqhNc_6_1j1rpm0A.png" /></figure><p>Now this will generate our first text script file like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*OoFah4ZPa-L2yO9kavKAqw.png" /></figure><p>Then click on “Run the Spec”</p><p>Next cypress will run our spec.cy.js file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ZM9DC7GjS4BD08HvBy7aLQ.png" /></figure><p>Now we have successfully installed and run the first script.</p><p>Next, we will look at the project folder structure.</p><p>Open your project folder with a code editor. These are the folder structures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*mTDiWlKuH7f6-28ZPz8h4Q.png" /></figure><p><strong>Downloads:</strong> if there are any files downloading when running our test scripts, those files will be downloaded in this folder.</p><p><strong>e2e:</strong> This folder contains our test scripts. If we need to add a new test file, we need to add it under the e2e folder. For best practices, you can add subfolders and categories of test scripts under the e2e folder and add your test script there as well.</p><p><strong>Fixtures:</strong> In the fixtures folder, we can save our extra data files and other fields. For example, if we have some pdf files that we need to upload within our test scripts, we can store those files in this folder.</p><p>Support: Support folder has mainly two files.</p><p>1. <strong>command.js</strong> : This file contains our custom commands. If we ever need to create some custom commands based on our requirement we can implement those commands inside this file.</p><p>2. <strong>e2e.js</strong> : This file is used to store global configuration and setup code for our test files.</p><p><strong>cypress.config.js</strong>: This file is used to configure settings in our Cypress project.</p><p><strong>Conclusion</strong></p><p>Even though Cypress is a great tool for test automation, it does have some limitations, such as it doesn’t support other programming languages.</p><p>Cypress is not a tool that we can learn in one night. If you are more interested in Cypress, the official Cypress doc (https://docs.cypress.io/) is the best place to learn advance Cypress topics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=305474f76ca8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scriptless Automation Testing]]></title>
            <link>https://qualityholics.medium.com/scriptless-automation-testing-8c2997dca41f?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c2997dca41f</guid>
            <category><![CDATA[scriptless-automation]]></category>
            <category><![CDATA[gui-based-automation]]></category>
            <category><![CDATA[codeless-automation]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[low-code-automation]]></category>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Thu, 27 Jul 2023 04:58:18 GMT</pubDate>
            <atom:updated>2023-08-07T16:01:56.554Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pIb-Ob23S5nuE_w4a0d3Pg.jpeg" /></figure><p>As the world of software development continues to evolve at an unprecedented pace, quality assurance and testing play a pivotal role in delivering robust and bug-free applications. Traditional testing methods often relied on writing complex scripts, which could be time-consuming, error-prone, and difficult to maintain. However, a revolutionary approach called “Scriptless Testing” has emerged, offering a new way to enhance software automation. In this blog, will explore the concept of scriptless testing.</p><p><strong>What is Scriptless Testing?</strong></p><p>Scriptless testing is a modern software testing technique that allows testers and quality assurance professionals to design, create, and execute test cases without writing traditional test scripts manually. Instead of relying on coding skills, scriptless testing tools employ visual interfaces, drag-and-drop functionalities, and natural language processing to build test cases. This enables non-technical team members to actively participate in the testing process, fostering collaboration and streamlining the entire QA cycle.</p><p><strong>Benefits of Scriptless Testing:</strong></p><p>· Accelerated Test Case Creation: By eliminating the need for writing complex code, scriptless testing expedites the process of creating test cases. Testers can leverage pre-built test components and reusable modules to assemble test scenarios quickly and efficiently.</p><p>· Enhanced Collaboration: Scriptless testing empowers domain experts, business analysts, and testers with diverse skill sets to contribute to the testing process. The use of a visual interface makes it easier to communicate and align requirements, leading to better collaboration between different teams.</p><p>· Reduced Maintenance Overhead: Traditional test scripts require continuous maintenance, especially when applications undergo changes or updates. Scriptless testing minimizes maintenance efforts by abstracting the technical details and automatically adapting to changes within the application under test.</p><p>· Improved Test Coverage: The simplicity of scriptless testing encourages testers to design comprehensive test cases, resulting in increased test coverage. It allows for better exploration of edge cases and scenarios, ensuring a higher level of confidence in the application’s reliability.</p><p>· Quick Onboarding of Testers: Scriptless testing tools simplify the onboarding process for new testers. Even those without a strong programming background can quickly get up to speed and start contributing to the testing efforts.</p><p>· Enhanced Reusability: Test automation frameworks often struggle with reusability. Scriptless testing promotes the use of reusable components and test assets, making it easier to create new test cases from existing ones.</p><p><strong>High-level architectural components of the scriptless automation framework</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qKhQvtCgwwBhpD9o8ki6A.png" /></figure><p>There are 3 main components</p><p>1. Test input interface</p><p>2. Framework core Engine</p><p>3. Test output interface</p><p><strong><em>Test input interface:</em></strong></p><p>This is the front end component and where we provide test inputs: test case steps, test conditions, test data, expected data etc. When designing the framework main focus should be to simplicity. Then only user will be able to adapt quickly and start using framework with less effort. The interface to the core engine is the interpreter which typically follows some protocol to exchange information on test inputs.</p><p>Test inputs can be provide in many ways: Files — excel, XML etc., GUI based, visual editor based — form of flow charts(supporting basic logic such as conditions and loops).</p><p><strong><em>Framework core Engine:</em></strong></p><p>This is the core component of the framework which does all jobs od automation logic, validations, interfaces to the rest of the components of the architecture, and third-party apps/scripts for customized test configuration and executions. All the test input actions are forwarded to the action handler. And it’ll process the actions on the application under test.</p><p><strong><em>Test output interface:</em></strong></p><p>This component is responsible for the outputting of test result, logs, defect logging, reports and dashboards. The core engine is forwards the result to the output logger which is then rendered by the output interface.</p><h4><strong>Tools for scriptless automation:</strong></h4><p><strong>ACCELQ</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*1TH8hMQVYEEVuQGzmw0nrg.jpeg" /></figure><p>ACCELQ is the single cloud-based scriptless test automation tool that automates API and web testing without a single line of code.</p><p><strong>Features</strong>:</p><p>· In-run automation with numerous deliberation layers. A force of self-mending with a runtime logical motor for strong automation.</p><p>· No seller lock, extendible structure open-source adjusted.</p><p>· Inherent test the board and arranging abilities.</p><p>· Consistent CI/CD and Jira/ALM incorporation with common recognizability.</p><p>· Visual application demonstrating plan and lifecycle automation.</p><p>· Codeless API and UI automation in a similar stream.</p><p>· Computerized experiment age and information arranging.</p><p>· Easy to utilize, AI-driven test automation stage.</p><p><strong>Selenium IDE</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*z93JwNFWeGEcl5Os_8aOyg.jpeg" /></figure><p>Selenium IDE is a Scriptless Test Automation tool that operates as an open-source solution. Its functionality relies on a record and playback mechanism, and it can be used as an extension for Chrome or Firefox browsers. Selenium IDE facilitates cross-browser execution by utilizing the Command-line Runner. When interacting with elements, it allows recording multiple locators for each one. The experiments created in Selenium IDE are reusable, providing flexibility and efficiency in test development.</p><p><strong>Features:</strong></p><p>· Control stream construction, Ex: if, while</p><p>· Tool is expandable through modules</p><p>· Allows to make a test suite</p><p>· Permit to alter test content</p><p><strong>ZapTest</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x1x0wgUpcAwfvEtlAbifYw.png" /></figure><p>ZapTest serves as an Enterprise Solution designed to enhance your test automation process by minimizing scripting efforts, automating documentation, and enabling parallel test execution. With ZapTest, you can effortlessly execute scripts across multiple test environments simultaneously. The tool simplifies your test automation tasks through the use of video scenarios and textual references, streamlining the overall process.</p><p><strong>Features:</strong></p><ul><li>This platform generates a script that can use on a computer, phone, or tablet.</li><li>Can use VBScript and JavaScript.</li><li>Automatically creates the test documentation.</li><li>Can utilize for UI and API test automation</li><li>Write Test scripts for live apps, mockups, video scenarios, and textual references.</li></ul><p>Above are very few tools which can be used to do scriptless automation. But there are more tools like testim, Katalon studio, perfecto, Ranorex studio etc.</p><p><strong>Challenges and Mitigations:</strong></p><p>While scriptless testing offers numerous advantages, it is essential to be aware of some potential challenges and how to address them:</p><p>· Limited Customization: Some scriptless testing tools may offer limited customization compared to traditional script-based approaches. Selecting the right tool that meets specific project requirements is crucial.</p><p>· Learning Curve: Testers and teams transitioning from traditional scripting to scriptless testing may experience a learning curve initially. Proper training and support can help overcome this challenge.</p><p>· Tool Compatibility: Ensuring compatibility with various target platforms, devices, and browsers is essential to maintain comprehensive test coverage.</p><p><strong>Conclusion:</strong></p><p>Scriptless testing has emerged as a game-changer in software automation, democratizing the testing process and promoting efficient collaboration among team members with varying skill sets. By embracing scriptless testing, organizations can accelerate test case creation, enhance test coverage, and reduce maintenance overhead. Though it comes with its unique challenges, the benefits it offers far outweigh the initial obstacles. As technology continues to advance, scriptless testing is expected to play a significant role in ensuring high-quality software products in a time-efficient manner. Embracing this innovative approach will undoubtedly elevate software testing to new heights of efficiency and reliability.</p><p><strong>References:</strong></p><p>· <a href="https://www.softwaretestinghelp.com/scriptless-test-automation-framework-tools/">https://www.softwaretestinghelp.com/scriptless-test-automation-framework-tools/</a></p><p>· <a href="https://www.testgrid.io/blog/scriptless-test-automation/">https://www.testgrid.io/blog/scriptless-test-automation/</a></p><p>· <a href="https://cloudqa.io/scriptless-testing/">https://cloudqa.io/scriptless-testing/</a></p><p>· <a href="https://www.lambdatest.com/blog/codeless-testing-tools/">https://www.lambdatest.com/blog/codeless-testing-tools/</a></p><p><strong>About Author:</strong></p><blockquote>Discover the voice behind these articles, Thathsarani Samaranayaka. Currently serving as an tester at 99x, Thathsarani boasts over 5 years of dedicated experience in the QA sector.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c2997dca41f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automation Testing on Microservices]]></title>
            <link>https://qualityholics.medium.com/automation-testing-on-microservices-22aeaf7969a0?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/22aeaf7969a0</guid>
            <category><![CDATA[microservices-testing]]></category>
            <category><![CDATA[quality-engineering]]></category>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Thu, 27 May 2021 16:10:41 GMT</pubDate>
            <atom:updated>2021-05-27T16:10:41.878Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*8GdS6jCSDPwBIg6V6fSe6A.png" /></figure><p>Automation testing has become common in recent years, and we use various frameworks to automate our tests based on our preferences. But have you come across the architecture dependability with automation testing? As testers let’s have a look at what this microservice architecture is about and how it impacts the quality of the system.</p><p>The majority of well-known organizations such as Netflix, Amazon, Uber, and Google have switched to microservice architecture or are preparing to do so. The main reason behind this is as applications grow larger and more complex, having a monolith application has become a challenge. As a result, developers are adopting a microservices software development architecture, in which systems are composed of loosely coupled services. This makes them simpler to build and, more importantly, to extend and scale.</p><p><strong>Microservice Vs Monolith Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*S7pofC9ddrnI3W0c2-8khw.png" /><figcaption>Comparison of Monolith vs Microservices</figcaption></figure><p>Simply put, a monolithic application combines all of its functionality into a single operation, while a microservice architecture separates each element of functionality into its own service and scales by spreading these services through servers and replicating them as required.</p><p>One of the core concepts behind this micro-service architecture is that instead of having a single application, you can have several microservices that can be deployed separately. For example, in the diagram below, if you want to go live with micro-service A, you can do so without affecting the other services. (Microservice B &amp; Microservice C)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*-KFxAbZs5QYrgjy_-eeagA.png" /></figure><p>Let’s look at how a QA Engineer can move to automated microservices testing…</p><p><strong>Importance of Automation Testing in Microservices</strong></p><p>Let me start off with an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/169/1*MJLAFBW4LudzS8MTP908sg.png" /></figure><p>Netflix is one of the first companies to move from monolithic to microservice architecture. The reason for this is due to the company’s immense growth and popularity, it needed to introduce new features more regularly.</p><p>As QA Engineers, we are all aware that as the number of features increases, the key challenge that arises is how to produce a high-quality product in the time allotted. <strong>The main challenge in such a case is testing.</strong> A QA Engineer should be able to ensure that the application’s consistency and reliability are maintained during rapid release cycles.</p><p>The main question in that case is, can you guarantee the quality of the system fully using Manual testing? In my personal opinion, the answer for this is NO and the explanation for this is that in Manual testing, we will have to repeat all of the repetitive tasks, which will cut down on the time it takes to test new tasks and ad hoc testing. This is where Automation testing enters the picture. Automation testing is much faster compared to Manual testing.</p><p>Instead of a large application, a microservice architecture typically consists of a large number of microservices, and if a problem with one of them arises, it is critical to determine the cause as soon as possible. Automation testing, rather than Manual testing, is a much easier way of accomplishing this.</p><p>Let’s take a look at the test strategy for microservices testing….</p><p><strong>Test Pyramid isn’t the best fit for Microservice Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*JF3d0APBFolxKaGZQfRoFw.png" /><figcaption>Traditional Test Pyramid</figcaption></figure><p>Usually if you consider a monolith application, test pyramid applies as below: At first, unit tests can be used to analyze each piece of the code separately. Next Integration testing can be performed as components are joined together. You build a release after all of these tests pass. System testing, Regression testing, and User Acceptance testing are all performed on this.</p><p>But in a micro service architecture the testing approach should be changed. Getting so many unit tests with a small definition for each microservice is not the best option in the microservice architecture. Each microservice is tied to a particular business capability rather than the whole business. It is not worth writing too many unit test cases for a microservice if it is just a small part of the business scope. The biggest complexity in a Microservice is not within the service itself, but in how it interacts with others, and that deserves special attention. Due to this rather than unit testing,<strong> Integration testing plays a major role in it</strong>.</p><p>In comparison to the test pyramid, a modern method of distributing tests in a microservice architecture is known as “<strong>honeycomb testing</strong>”</p><p><strong>‘’Honeycomb Testing’’ to Microservice Architecture</strong></p><p>As you can see in the diagram below, the integration is larger than the other parts, indicating that integration testing will be the primary focus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*5z-pyxXx3sjYexKohZLziA.png" /><figcaption>Honeycomb Testing</figcaption></figure><p>Integration testing is used in microservices architectures to verify contact between subsystems that communicate with external components including data stores and other services. It ensures that the subsystem’s contact paths are functioning properly when communicating with its peers. They’re mostly used in microservice architecture to verify interactions between layers of integration code and the external components they’re integrating.</p><p>It ensures that the system runs smoothly and that the services’ dependencies are as intended. The primary aim of writing automated tests for modules that communicate with an external component is to ensure that the modules are adequately interacting with the external component.</p><p><strong>Conclusion</strong></p><p>Microservices architecture is a distributed approach that aims to solve the limitations of monolithic architectures. Test automation of microservices may not remove issues associated with software testing, but it certainly helps expedite the software testing process while making it efficient and smarter too. Tests ensure that software quality begins high and remains high as new features are introduced or existing features are changed in a microservice architecture.</p><p>Agility is one of the advantages of microservice architectures. Since each service has its own scope and an independent lifecycle, implementing a new function as a microservice, testing it, and deploying it to production takes less time.</p><p><strong>References</strong></p><p><a href="https://engineering.atspotify.com/2018/01/11/testing-of-microservices/">https://engineering.atspotify.com/2018/01/11/testing-of-microservices/</a></p><p><a href="https://www.methodsandtools.com/archive/testmicroservices.php">https://www.methodsandtools.com/archive/testmicroservices.php</a></p><p><a href="https://www.geeksforgeeks.org/the-story-of-netflix-and-microservices/">https://www.geeksforgeeks.org/the-story-of-netflix-and-microservices/</a></p><p><a href="https://dzone.com/articles/approaches-to-automating-microservices-testing">https://dzone.com/articles/approaches-to-automating-microservices-testing</a></p><p><a href="https://jaxenter.com/microservices-test-automation-152010.html">Microservices: How can we bring microservices to test automation?</a></p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*eVCb-bAesGcUJadKqrkSGA.png" /></figure><p><em>Bishma Nishadi works as a<br>Quality Assurance Engineer <br>at 99x</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22aeaf7969a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Other Reason]]></title>
            <link>https://qualityholics.medium.com/the-other-reason-e22848ba7976?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22848ba7976</guid>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Tue, 27 Apr 2021 14:17:51 GMT</pubDate>
            <atom:updated>2021-04-27T14:17:51.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BsDTjnYxib9rN-OvZ9O9EA.jpeg" /></figure><p>Are you into Automation Testing? Do you spend hours trying to fix your failed test cases? As a newly joined QA intern I got to work in Test Automation. The tool I mainly worked with is Protractor. While automating certain tests, I encountered situations where my test cases failed.</p><p>Test cases can fail because of two main reasons. One can be an obvious defect in the system so you might want to raise a bug and inform the developer. This is in fact a successful test case because it found defects. The <strong>other reason</strong> a test case fails is an unknown reason that is not related to any functionality of the application. This article delves into the <strong>other reason</strong> your tests fail.</p><p>Sometimes these tests can pass or sometimes fail due to unreliable test cases. It’s always better to find the reason.</p><p>The <strong>other reason</strong> is comprised of many more reasons: -</p><p>1. Logical Issues</p><p>Many test cases fail due to the wrong logic that is used. These are code level errors such as assigning a value to the wrong variable, incorrect functions or small typos in the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*8s43OMmnESzRr6UO15aE2w.png" /><figcaption>A failed test case because of an undefined variable</figcaption></figure><p>2. Data issues</p><p>The test data used can be incorrect and the test case may not be updated with UI changes of the AUT. This may cause the test case to fail. It’s always better to check if the parameters and input data you are using are correct. Test cases may also fail because expected results are invalid. Sometimes the test passes only for one valid result but the AUT accepts multiple valid results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*N9hbsu4ApYPqyvZlfnzYPg.png" /><figcaption>A test case failing after duplicating test data</figcaption></figure><p>3. Environmental issues</p><p>Issues with the environment can occur when the server is not responding. Network issues can also result in a failed test. Another instance is when the application is too slow. This may be because of location specific settings, an incorrect browser version or not updating the tools used. Sometimes it’s, difficult to locate elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*mnhWka8RyrnPa-jSCILPsA.png" /><figcaption>A test failing due to issues in web driver</figcaption></figure><p>4. Dependencies</p><p>Some test cases depend on the previously run tests. Having dependencies in pervious test cases can also result in a failed test.</p><p>5. Timing Issues</p><p>Timing using are very common for test cases to fail. Some heavy tests require more time to capture elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*dAse6u1M-3nIwXluTeLkQw.png" /><figcaption>Error cause due to Jasmine timeout interval</figcaption></figure><p>You may have experienced all or some of the above issues. What is important is to quickly identify the reason and troubleshoot these issues. It’s always best to recheck the test script and update it with all recent UI changes of the AUT, input data and parameters. Make the test cases modular and independent if dependency issues arise. Finally ensure your browser, test tools and environment is ready and up to date to execute the tests. After all the other reason for your test to fail should not be as hard as finding the other man/woman your spouse is texting.</p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*WYEXBM_mGRMW1865l-1lmw.png" /></figure><p><em>Sanara Premaratne works as an<br>Intern Quality Assurance Engineer at 99x</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22848ba7976" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you find difficulty when identify Test Case Combinations?]]></title>
            <link>https://qualityholics.medium.com/are-you-find-difficulty-when-identify-test-case-combinations-78df5c066929?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/78df5c066929</guid>
            <category><![CDATA[test-case]]></category>
            <category><![CDATA[manual-testing]]></category>
            <category><![CDATA[qa-testing]]></category>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 03:34:11 GMT</pubDate>
            <atom:updated>2021-01-05T03:34:59.311Z</atom:updated>
            <content:encoded><![CDATA[<p>As a Test Lead or Test Analyst, they need to come up with an effective testcase design and planning techniques in order to attain maximum test coverage. It is nearly impossible to achieve 100% test coverage unless product has simple requirements. Many defects only occur when a combination of inputs or events occur that interact with each other. Hence, it becomes critical to come up with a ‘subset of combinations’ which provide inputs to the test cases in achieving the best results.</p><p><strong>Common Manual Testing drawbacks</strong></p><ul><li>Time Consuming &amp; Cost driven</li><li>More numbers of Resources are required for testing</li><li>Multiple times of testing the same set or subset of test cases in a different phase.</li><li>Tester does not conclude that they cover the application completely or not (Not sure about coverage of the application)</li></ul><p>So, test design techniques should be very effective to identify best possible test cases/combinations that can help in testing the core functionalities of the product, thereby achieving the best coverage results and high defect yield rate.</p><p>Pairwise testing is a black box testing technique which is an alternative to testing all possible combinations of a set of variables. This testing method helps to reduce the number of test cases by testing all pairs of variables rather than attempting to test all of the combinations for all the values for all the variables. Also, this method works well when the number of possible parameter values is large. As a result, the number of test-cases used is lowered while the overall functional coverage does not decrease significantly.</p><p>· Sources of defects are usually due to unexpected interactions between parameters</p><p>· Testing all possible combination is infeasible due to budget and time constraints</p><p>· Suitable approach is to test all two-way between parameters</p><p>· If a test plan covers all the two -way interactions between parameters, then we are balancing of completing the testing within reasonable budget vs. risk of defects due to interactions among three or more parameters</p><p>· Good way of measuring a test plan coverage is to find how much percentage of pair wise combinations are covered in the test plan</p><p>Simplest bugs in a program are generally triggered by a single input parameter. Next category of Bugs consist of dependent interactions between pairs of parameters can be caught with less effort using All-pairs testing.</p><p>Suppose, you have a scenario of a software application for testing as follows;</p><p>Assume that there is a function with a list box that contains 5 elements, text box that can accept 1 to 10 characters, checkbox and OK button.</p><ol><li>Check Box — Checked or Unchecked</li><li>List Box — 0, 1, 2, 3, 4</li><li>Text Box — Number of alphabets between 1 to 10.</li></ol><p>Calculation of all the possible combinations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*p4RcpTROC1ySx4Cfyxz49Q.png" /></figure><p>The total number of test cases, including negative test cases, is 100.</p><p>Test team has to perform exhaustive testing and it is very long and time-consuming process if team going to test all 100 positive and negative cases.</p><p>Therefore, testing team has to reduce the number of test scenarios. Inputs values for list box in such a way that the first value is 0, and the other value can be any numeric number, neither positive nor negative. Five values are now converted into 2 values.</p><p>Input values for the checkbox can be identified as only 2 combinations. At last, input values of the text box can be categorized into three input categories valid integer, invalid integer, and alpha-special character.</p><p>So total number of combinations can be reduced to 2*2*3 = 12 testcases</p><p>12 Test Combinations can be identified as follows in conventional software testing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*Na4goZxENsDWesLSX0LgqA.png" /></figure><p>Now, the task is to reduce combinations using all pair technique, which guarantees to test best possible combinations of a Test Scenario.</p><p>Let’s take T1 test combination and all three pairs of this scenario ({Checked ,0} {Checked, Valid Integer} {0, Valid Integer}) covered using different test combinations as described below. Therefore, we can remove T1 combination from the Testcases.</p><p>Get rid of Testcase (T1)</p><p>(Checked, 0, -) Covered in T2</p><p>(Checked, -, Valid Integer) Covered in T4</p><p>(-, 0, Valid Integer) Covered in T7</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*8gUAuvAn-RqGYdWb4yUUMw.png" /></figure><p>Test cases/Test combinations can be reduced to only 6 pair test cases by using pair wise testing instead of testing all 100 possible Test cases or 12 testcases using conventional software testing method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*kg417GjvJ3NOzYwmIDeTZg.png" /></figure><p>Available tools for Pair wise testing</p><p>¡ Hexawise</p><p>¡ PICT (Pairwise Indepedent Combinatrial Testing) tool</p><p>¡ Automatic Efficient Test Generator or AETG</p><p><strong>Advantages</strong></p><p>· Guarantees the testing of pair-wise combinations of all the selected variables</p><p>· Efficient and effective way of creating fewer test cases from all combinations of all variables</p><p>· simpler to generate and less error prone test sets created by hand</p><p>· Exercises some of the complex combinations of all the variables</p><p><strong>Limitations</strong></p><p>· Selecting the wrong input: Problems of equivalence partitioning are made worse with a pair of wrong inputs</p><p>· High probability combinations get too little attention</p><p>· Not knowing the interdependencies between variables</p><p><strong>Reference</strong></p><p><a href="https://www.tutorialspoint.com/software_testing_dictionary/all_pairs_testing.htm">https://www.tutorialspoint.com/software_testing_dictionary/all_pairs_testing.htm</a></p><p><a href="https://www.softwaretestinghelp.com/what-is-pairwise-testing/">Pairwise Testing or All-Pairs Testing Tutorial with Tools and Examples</a></p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/1*eWZhSM2Lmc2wCO0yGdU_6Q.png" /></figure><p>Sameera Palansooriya <em>works as a Senior Quality Assurance Engineer at 99X Technology.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78df5c066929" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you ready for Intelligent Automation?]]></title>
            <link>https://qualityholics.medium.com/are-you-ready-for-intelligent-automation-b36cb57db5a9?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36cb57db5a9</guid>
            <category><![CDATA[intelligent-automation]]></category>
            <category><![CDATA[automation-testing]]></category>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Mon, 30 Nov 2020 04:43:31 GMT</pubDate>
            <atom:updated>2020-11-30T04:43:31.882Z</atom:updated>
            <content:encoded><![CDATA[<p>Applying artificial Intelligence (AI) and machine learning (ML) are real in business now. They are coming faster than we imagine. Therefore, companies like Apple, Tesla, Google, Amazon, Facebook, and others have started investing more into AI to solve different technological problems effectively and efficiently. This being the case how are we, as Testers, going to adapt to this change and embrace AI?</p><p><strong>Evolution of Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*NNs3dQf0115O7Bh72T43yQ.png" /></figure><p>Before moving forward to upcoming trends, it is worth to summarize how the testing practice has evolved over the last 4 decades.</p><p>In 1980’s most of the software developments followed waterfall methodology and they carried out manual testing to ensure quality of the product. No automation appeared on any phase and the methodology was identified as a waste of time as there were never ending loops between development and manual testing.</p><p>In the 1990’s, there were different development approaches being experimented like Scrum, XP, RAD (Rapid Application Development). Along with those methodologies, we had bulky automation tools which were unstable and had really primitive functionalities. In this first generation of automation, the focus was largely UI-based and centered on regression. But the savings were limited largely to regression and did not make much difference to the business.</p><p>From 2000, the era of open source frameworks began. Further to that XP, Scrum, Kanban became standards in the SDLC. In this next wave of automation included the functional side of business in the form of API / middleware automation, test data automation and more.</p><p>From 2010 onwards, automation in the test execution phase is further evolving with wide adoption of open source automation solutions, Agile and continuous testing, third party system integrations, DevOps, and CI/CD integrations.</p><p><strong>Future is today</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*oB83p_NoHtBmogUF0ntBPg.png" /></figure><p>Then the future will be about <strong>Autonomous Testing</strong> using <strong>Machine Learning and AI</strong>. AI-led cognitive automation solutions (Intelligent Automation) combine the best of automation approaches with AI and help bringing superior results. These solutions mainly focus on the following.</p><p>· Reduce maintenance cost</p><p>· Eliminate test coverage overlaps</p><p>· Optimize efforts with more predictable testing</p><p>· Move from defect detection to defect prevention</p><p>For an example, even today, companies use machine learning algorithms for pattern analysis and processing huge volumes of data that result in better run-time decisions. Specially in software upgrades, machine learning algorithms can traverse the code to detect key changes in functionality and link them to the requirements to identify test cases. This prevents making poor decisions that could lead to failure and introduces the optimized testing.</p><p><strong>The existing AI landscapes</strong></p><p>The role of a software tester involves taking decisions to ensure the quality of a software by analyzing on going data. Leveraging AI for the same task can result in a much faster pace while managing a larger amount of data. Application of AI to testing enables the testers to go beyond the traditional mode of testing and adopt AI-enabled automation platforms instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*lYaZ4cMxEYHiEL2Ay3Hu0Q.png" /></figure><p>AI is directly applicable to all aspects of testing including performance testing, exploratory testing, functional testing, regression testing, identifying and resolving test failures and even performing usability testing. Here are a few applications of AI in modern practices.</p><p>Testers can use AI for writing test cases by saving a considerable amount of time. Here, AI uses machine learning to write test cases for the application by crawling through it and collecting the data. The data set gathered is then used to train the ML models about the application and what its expected pattern should ideally be, so that with every new run it can compare to the known parameters and report a red flag in case any deviation from the original pattern is identified.</p><p>AI can be used in testing of UI Interfaces as well. Specifically, image recognition is being used to take UI testing to the next level. In that case, mainly dynamic UI controls can be recognized, irrespective of their shape and size.</p><p>One of key challenges in SLDC is maintenance. Recent surveys say that the changes of the application take up to 30% of testers work in updating automated scripts along with the applications changes. For example, simple changes in the application often result in test failures in Selenium because the testing scenarios focus on a singular path or selector, resulting in considerable rigidity. AI/ML testing have the capability to observe and learn about relationships between various documentation segments. This provides flexibility to adapt to changes made in real time and since the scripts can automatically adjust to any changes, the tests become more maintainable and reliable.</p><p>Pattern recognition capability of AI makes use of machine learning to find out visual bugs in the software to ensure the visual validation of the application. This is another important aspect in AI. It can easily ensure that the different components do not accidentally overlap with one another with a significantly faster pace. These bugs might be missed out by a human tester, but not from AI.</p><p>Currently, number of companies provide these services in the field of AI-powered testing.</p><ul><li><a href="https://applitools.com/">Applitools</a> AI-powered visual testing and monitoring tool for mobile and web apps</li><li><a href="https://www.mabl.com/">Mabl</a> Test automation, regression testing tool for codeless testing of web apps</li><li><a href="https://test.ai/">AI</a> AI-powered tool that uses ML for mobile app testing and documentation.</li><li><a href="http://www.perfecto.io/">Perfecto</a> Cloud-based mobile testing tool using AI analytics for reporting</li><li><a href="https://www.testim.io/?utm_source=agconfsite&amp;utm_medium=banner&amp;utm_campaign=2018conf">Testim</a> Machine Learning tool that authors, executes and maintains automated tests</li></ul><p><strong>Would human testers be replaced with AI Testing?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*7ewR1kOxjZ4C8-GJ7f-0vw.png" /></figure><p>Even though AI and ML play a major role in the near future, it does not imply the extinction of the human testers. The above-mentioned tools as well as the ones that will be developed in the future would only work towards making the testers more efficient, agile and would save them countless hours of time they would otherwise have to spend manually testing the applications.</p><p>Just as automation in testing is nowhere close to replacing the manual tester, same applies to AI as well. If you are a software tester, you probably shouldn’t start panicking about the possible takeover of your job by artificial intelligence. What you should do instead, is keep yourself updated about the changing technology and keep automating.</p><p><strong>References</strong></p><p><a href="https://bitbar.com/blog/how-to-leverage-ai-as-part-of-your-mobile-testing-efforts/">https://bitbar.com/blog/how-to-leverage-ai-as-part-of-your-mobile-testing-efforts/</a></p><p><a href="https://bigdata-madesimple.com/how-to-leverage-ai-in-software-testing/">https://bigdata-madesimple.com/how-to-leverage-ai-in-software-testing/</a></p><p><a href="https://techbeacon.com/app-dev-testing/how-ai-changing-test-automation-5-examples">https://techbeacon.com/app-dev-testing/how-ai-changing-test-automation-5-examples</a></p><p><a href="https://towardsdatascience.com/quality-assurance-for-artificial-intelligence-d935fc6b238">https://towardsdatascience.com/quality-assurance-for-artificial-intelligence-d935fc6b238</a></p><p><a href="https://www.infosys.com/insights/ai-automation/quality-assurance.html">https://www.infosys.com/insights/ai-automation/quality-assurance.html</a></p><p><a href="https://www.testim.io/blog/ai-transforming-software-testing/">https://www.testim.io/blog/ai-transforming-software-testing/</a></p><p><a href="https://www.youtube.com/watch?v=pMd1L1IZrxk">https://www.youtube.com/watch?v=pMd1L1IZrxk</a></p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/1*ADNsjv9A9AsDejXJgWP7ig.png" /></figure><p>Pavithra Gunawardhana <em>works as a </em>Associate Quality Assurance Lead <em>at 99X Technology</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36cb57db5a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Automation adds value to your testing]]></title>
            <link>https://qualityholics.medium.com/how-automation-adds-value-to-your-testing-60e2a5d8e140?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/60e2a5d8e140</guid>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Wed, 28 Oct 2020 03:51:19 GMT</pubDate>
            <atom:updated>2020-10-28T03:51:19.817Z</atom:updated>
            <content:encoded><![CDATA[<p>The importance of software testing is imperative. It is essential in order to deliver a quality product to the customer. However, the fast-paced development environments of the present times often create time and cost constraints. Traditional manual testing is a slow process of executing test cases manually, one step at a time. This is where automation testing comes into the picture. In automation testing, all test scripts are written once and executed automatically whenever the team wants. Test automation increases overall software efficiency and ensures robust software quality. The team executes more tests in less time, with improved overall test coverage.</p><p>Now let’s find out more about how automation adds value to testing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*Yf37kcFdLWMdf6WZXBvv7Q.png" /></figure><p><strong>What are the key benefits of Automation testing?</strong></p><p>1. Accuracy and Reliability</p><p>Manual testing can lead to more errors when running the same test cases over and over. That will exhaust the tester and mistakes are to be expected. Automated test scripts can follow the same test steps consistently time and time again. They get the same results when the expected test criteria are met. Automation testing prominently reduces human error that can occur in manual testing environments, and makes test results more accurate. This essential in order to release a high-quality product.</p><p>2. Increased Test Coverage</p><p>Through the implementation of automated tests, you can improve the quality of testing by expanding both depth and the scope of testing. Testers can cover most possible scenarios by generating test data with automated test suites. This leads to a higher test coverage whereas manual testing would need a larger team to achieve this goal within the limited time they have.</p><p>Apart from this, test automation can perform GUI validations, performance testing, security testing, cross browser testing, and many more, much easily while surpassing manual testing.</p><p>So, increased test coverage ensures higher quality of the product.</p><p>3. Reduced Expenses</p><p>Implementing an automation test suite is an investment. At the initial setup, the cost will be higher for automation testing than manual testing. But, in the long run, the cost and effort invested in manual testing are significantly reduced with automation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*Pd_cVMop93YFYkSsKjmTLQ.png" /></figure><p>4. Saves Time</p><p>When the project grows, many new functionalities and requirements will be added to the project. So, the number of things to be tested will be increased. Manual testing will take more time and is prone to errors.</p><p>One of the major advantages of automation testing is testers can schedule and run their tests anytime. So, the scheduled test cases will execute with minimum human interaction and the test results will be shared once it is done. This allows for the testing to be carried out repeatedly, delivering faster results each time with lesser effort and time.</p><p>5. Easy Regression Testing</p><p>Regression testing is performed after every iteration or intermediate release, to ensure that the new code modifications have not introduced any errors in the overall functionality of the application. Manually performing regression testing takes time and rarely identify new issues as testers can easily get bored by executing the same test suite hundreds of times.</p><p>Automated regression testing allows to detect bugs that are often let slip by manual testers, and saves execution time.</p><p>6. Reusability of Test Scripts</p><p>Most of the time automated test scripts can be reused with minimal or no changes in the script, and it is much easier to setup configurations. As an example, testers can reuse test automation scripts in a different application for the same functionality, like login module. In this case, tester can use the same code and execute test cases much easily, only the test data will be different. In manual test execution, testers have to execute testcases one by one for different inputs even when test scenarios are similar. Reusability of automation scripts will help in saving time and cost.</p><p>7. Ease of Test Reporting</p><p>Test reporting is an essential part of testing. It will be a bit of hectic work to manually prepare a good test report, which contains a summary of all test activities and the test results. Meanwhile, automation test tools take test reporting to a next level. Every test script executed can be reported in visual logs, including more details like screenshots, screen recordings and error logs. Using these reports, any team member can easily identify the root cause of a bug. After executing a test suite, user can get a better idea of the test results of the whole test suite.</p><p><strong>Conclusion</strong></p><p>Automation testing results in time and effort saving, cost reduction, increased accuracy and reliability, fast feedback, and increased productivity.</p><p>The above mentioned are a few examples how automation testing adds value to traditional testing. As a result, it improves the brand image, generates higher profit, and ensures customer retention by being able to release high quality products on time.</p><p><strong>References</strong></p><p>1. <a href="https://www.testcraft.io/software-test-automation-values-organization/">https://www.testcraft.io/software-test-automation-values-organization/</a></p><p>2. <a href="https://www.emtec.digital/think-hub/blogs/4-ways-test-automation-provides-value-in-product-development/">https://www.emtec.digital/think-hub/blogs/4-ways-test-automation-provides-value-in-product-development/</a></p><p>3. <a href="https://www.mindk.com/blog/automated-testing-benefits/">https://www.mindk.com/blog/automated-testing-benefits/</a></p><p>4. <a href="https://www.testim.io/blog/test-automation-frameworks/">https://www.testim.io/blog/test-automation-frameworks/</a></p><p>5. <a href="https://blog.qasource.com/how-automation-adds-value-to-your-testing">https://blog.qasource.com/how-automation-adds-value-to-your-testing</a></p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/171/1*Ppz3VBKD42SVg8zcc6mCyw.png" /></figure><p>Roshika Gunarathne<em> works as a Senior Quality Assurance Engineer at 99X Technology.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60e2a5d8e140" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to integrate your Postman API collection into CI/CD Pipelines]]></title>
            <link>https://qualityholics.medium.com/how-to-integrate-your-postman-api-collection-into-ci-cd-pipelines-90b369a52a68?source=rss-d9d5bae30c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/90b369a52a68</guid>
            <dc:creator><![CDATA[Qualityholics]]></dc:creator>
            <pubDate>Mon, 28 Sep 2020 10:54:08 GMT</pubDate>
            <atom:updated>2020-10-06T03:26:01.730Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How to integrate your Postman API collection into Azure CI/CD Pipelines</strong></h3><p><strong>Azure Devops</strong> has become a giant in modern Application development as It has many functionalities which are more flexible. As a result; many use Azure Devops in their projects for both <strong>Development</strong> and <strong>Quality Assurance</strong>. This article brings you the basic of <strong>API automation using Azure pipelines</strong>.</p><p>API automation process can be done in many different ways within Azure pipeline using various 3rd party integration tools. Here we have use <strong>Postman </strong>and<strong> Newman</strong>. <strong>Postman </strong>is a scalable API testing tool that can quickly integrates into CI/CD pipeline.</p><p><strong>Newman</strong> is a <strong>command line Collection Runner</strong> for Postman. It allows you to run and test a Postman Collection directly from the command line. It is built with extensibility in mind so that you can easily integrate it with your continuous integration servers and build systems. Also, Newman maintains feature parity with Postman and allows you to run collections the way they are executed inside the collection runner in Postman. This article will walk you through an example on how to integrates your postman collection into CI/CD pipeline.</p><p>As the <strong>First Step</strong>; You have to export your Postman collection and relevant Environment variable file. To do that,</p><ol><li>Click on more option in your collection (Denote by …)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Zj8Oe7eQUCrH9FK1WeEMDw.png" /></figure><p>2. Click on “Export”</p><p>3. Select the relevant version and Click “Export”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*O9RyfrdV9sRs7nvC1_oniQ.png" /></figure><p>4. To Export Environment variable, Click on Manage Environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*_XYdFYichc-8OaKMMm0xrQ.png" /></figure><p>5. Then Download relevant Environment package</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*T70dRP1eqtvxZ129OrhUUQ.png" /></figure><p>Now you have successfully export you Postman collection and we are good to go now. As the <strong>Second Step</strong>; you have to Upload Exported collection to a Specific Repo in your project. In our case, we have created a separate Automation project within the same Organization where our main product located.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*I1Z5OjJUM826Akd_jhUxzQ.png" /></figure><p>If you are done with above steps, will create a CI/CD pipeline as the <strong>Third Step</strong>.</p><ol><li>Navigate to Pipeline and Build new pipeline</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*pSuORKIZi7PisDyeXXn-IQ.png" /></figure><p>2. Create a new pipeline using Classic editor and then select relevant Source (In our case we should select relevant folder under project <strong>“Repo”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Poehpa6rN6J4Bsm1aExHkA.png" /></figure><p>3. When selecting a Template select “Empty Template” and complete pipeline creation.You can ensure about the source you are pointing using by clicking on <strong>“Get Sources” </strong>as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Wm4DnMh0HZZD4CBLWw-0gw.png" /></figure><p>As the <strong>Fourth Step</strong>, we have to add Job Agents to the pipeline. The first Job Agent is for install Newman. As I have mention above. We need to install Newman to run Postman Collection in cmd. For the following steps should be followed.</p><ol><li>Add new <strong>“Command Line”</strong> using add new job agent button, which shown as <strong>“+”</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*TEc03UfzhrGErS1qv4LNwg.png" /></figure><p>2. Then Complete the details of newly added Command Line. In this point I have named My job Agent as “Install Newman”. Make sure to set the working directly to default as shown in figure.</p><p>Script to install Newman <em>— npm install -g newman</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*94NbZ9Za8RNco8N2EHRahw.png" /></figure><p>When You are done with all above steps correctly. As the <strong>Fifth Step</strong>, we can add Another “Job Agent” to run our Postmen Collection. To do that follow the same steps which I have mention in previous step (Adding a Job Agent), but the script and other fields might change. Here I have attached a sample from my project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*i5ucZ14BgfQw14qe6Qct6Q.png" /></figure><p>Script to run the collection:</p><p><em>newman run sample.postman_collection.json -e My_Workspace.postman_globals.json — reporters cli,junit — reporter-junit-export junitReport.xml</em></p><p>In above script;</p><p>· <em>sample.postman_collection.json </em>is My Postman collection</p><p>· <em>-e — </em>To denote Environment Variables</p><p>· <em>My_Workspace.postman_globals.json — </em>My Environment variable collection</p><p>· <em>— reporters cli,junit — reporter-junit-export junitReport.xml — This is to report the result</em></p><p>As the Final Step, now we can publish our test result to a xml file. To do that, you have to create another Job agent as below. But this time we are adding a <strong>“Publish Test Result” </strong>not a<strong> cmd.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*xFBiSzGncY7b_EJKK2DpoQ.png" /></figure><p>Here, as the test result file you have to create a sample .xml file in a same root directory and set the path to the file.</p><p>Here I have attached a sample Test result from a sample project. If you follow the above mention steps correctly you would get a similar result as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*awd30Dh8N1x1IQWlcAg4uw.png" /></figure><p>Click on the document link as shown in the above figure and you will redirect in to downloadable test result folder with every necessary data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Ve_YxJcKmJHh7uYHxgjHkQ.png" /></figure><p>Now you have successfully completed the integration of your Postman Collection to CI/CD Pipelines. But many people are struggling to integrate multiple Postman collections in to a one CI/CD pipeline.</p><p>These are the steps which you should follow in order to Integrate your API Collection to CI/CD Pipeline, where the test can be run automatically with each build and during specific time period.</p><p>If you have multiple API collections in your project, you can follow any step preferred step from followings.</p><p>1. Option 01</p><p>· We can add separate agent jobs for each Postmen Collection (as shown in 5th Step) and then make a small change in you “Publish Result” as shown below.</p><p>· Change — Check on “Merge Test Result” check box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Jpazcg9rHP1cRMaqXW_pJQ.png" /></figure><p>2. Option 02</p><p>· Even you can run Multiple Postman Collection in a same job Agent using the following sample code. Here I have used to API collection s together at a same job Agent (Use this as the script in 5th step)</p><p><strong>SET postman_collection=SAMPLECOLLECTION01.postman_collection.json</strong></p><p><strong>SET postman_environment= SAMPLECOLLECTION01.postman_environment.json</strong></p><p><strong>call newman run %postman_collection% -r html,cli -e %postman_environment% — reporters cli,junit — reporter-junit-export Result\ SAMPLECOLLECTION01Result.xml</strong></p><p><strong>SET postman_collection= SAMPLECOLLECTION02.postman_collection.json</strong></p><p><strong>SET postman_environment= SAMPLECOLLECTION02.postman_environment.json</strong></p><p><strong>call newman run %postman_collection% -r html,cli -e %postman_environment% — reporters cli,junit — reporter-junit-export Result\ SAMPLECOLLECTION02Result.xml</strong></p><p><a href="https://www.digitalcrafts.com/blog/student-blog-what-postman-and-why-use-it">https://www.digitalcrafts.com/blog/student-blog-what-postman-and-why-use-it</a></p><p><a href="https://medium.com/younited-tech-blog/integrate-automated-test-in-azure-devops-using-the-postman-api-288f5566bf11">https://medium.com/younited-tech-blog/integrate-automated-test-in-azure-devops-using-the-postman-api-288f5566bf11</a></p><h3>About the Author</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*LH0Sj1USWRsm_zHD1wiyUA.png" /></figure><p><em>Dulari Kelaart works as a </em>Trainee<em>- Quality Assurance Engineer at 99X Technology.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90b369a52a68" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>