<?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 tobias does test automation on Medium]]></title>
        <description><![CDATA[Stories by tobias does test automation on Medium]]></description>
        <link>https://medium.com/@tobias-does-test-automation?source=rss-2457846b378f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iMhKdAVPE2Bag6HLTxIx4Q.jpeg</url>
            <title>Stories by tobias does test automation on Medium</title>
            <link>https://medium.com/@tobias-does-test-automation?source=rss-2457846b378f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:44:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tobias-does-test-automation/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[What is black box testing and how to use it in functional tests]]></title>
            <link>https://medium.com/@tobias-does-test-automation/what-is-black-box-testing-and-how-to-use-it-in-functional-tests-8b599795c827?source=rss-2457846b378f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b599795c827</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[functional-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[black-box-testing]]></category>
            <dc:creator><![CDATA[tobias does test automation]]></dc:creator>
            <pubDate>Mon, 06 Dec 2021 15:22:12 GMT</pubDate>
            <atom:updated>2021-12-13T15:10:20.957Z</atom:updated>
            <content:encoded><![CDATA[<p>Black box testing is a type of software testing that doesn’t require in-depth knowledge of the internal logic or source code of the item being tested. Black box testing is an effective way to decide if a system’s design meets its requirements and to avoid errors in the implementation. <br>In this article, I will show you how black box tests can be used as functional tests.</p><h3>What is black box testing?</h3><p>Black box testing is a software testing technique that doesn’t require any knowledge of the internal logic of the item being tested. The tester’s only knowledge of the item being tested is its inputs and outputs.</p><p>Black box testing is often associated with requirements-based testing. It helps to decide if a system’s design meets its requirements, and to avoid errors in implementation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/0*Od6bk9AJR3VG5F2S.png" /><figcaption>V-Model based testing (<a href="http://www.geeksforgeeks.org/">www.geeksforgeeks.org</a>)</figcaption></figure><p>In the above diagram Integration Testing, System Testing and Acceptance Testing can be and should be tested with a black box approach.</p><p>Black box testing is the opposite of white box testing.</p><h3>What is functional testing?</h3><p>Functional tests are used to test how a program behaves on a user’s behalf. When designing functional tests, one needs to make sure the test cases cover the different use cases and paths. Using black box tests makes it easier to cover all possible paths and use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*P288b2ASXsciRlODVVM5Qg.png" /><figcaption>Test report combining test steps with test input, expected &amp; actual result</figcaption></figure><p>In classical terms black box functional testing is called verification, i.e. you test the software against specification by checking the output for a given input.</p><p>Functional testing is the opposite of non-functional testing which refers to disciplines like performance, accessibility or security testing.</p><h3>Overview on black box, white box, functional and non-functional testing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jU02wTzKGjYJFvE589PEog.png" /></figure><p>Be aware that you can perform integration testing with unit-tests. It always depends on your definition of what an actual test really means. This matrix is meant to give you an overview of the general understanding.</p><h3>Why use black box tests in functional testing?</h3><p>Functional testing is a type of software testing that verifies that a system can perform its required functions. This type of testing covers the logic of the system, its user interface, and the way it reacts to various inputs.</p><p>In functional tests, black box tests can be used in a few different ways. For example, they can be used to test the user interface without requiring knowledge of the system’s internal logic. They can also be used to verify that a system handles errors properly.</p><p>Black box tests are an effective way to check if a system’s design meets its requirements and to identify errors in implementation.</p><p>There are many benefits to using black box tests in functional testing, including the fact that they’re non-intrusive and don’t require knowledge of the system’s internal logic. This makes them a valuable addition to any functional testing process.</p><h3>What are the main types of black box tests?</h3><p>Black box tests focus on testing the system’s behavior and features and not how it works internally. For example, you could use a black box test to see how an application responds to different input for a given number of repetitions. This negates the need for a deep understanding of any system’s design and allows you to focus on the overall behavior of the system.</p><p>There are six main types of black box tests: load, performance, security, compatibility, regression, and stress testing. We usually summarize load, performance and stress testing under the performance testing label.</p><h3>How to create a test plan for a black box test?</h3><p>When creating a black box test, it is important to define the input and the expected output. The input can be a number, a file, a text string, a date, a path, a logical condition, or any other input that will cause the output of the test to change. The expected output will be the content or result that is desired when an input is given.</p><p>In most cases, the expected output will be a comparison of the actual output with the desired output. In order to create this comparison, you will need to compare the actual output with the expected output.</p><p>In order to create your <strong>test plan</strong> you should have these basic components:</p><ol><li>The specification or requirement that you are going to test</li><li>The prerequisites that are required, e.g. a user is logged in</li><li>The inputs that you will use in your test</li><li>The expected output of your test</li></ol><p>For the <strong>test report</strong> this is extended by</p><p>5. The actual output of your test</p><p>6. The result of the test</p><p>7. A list of deviations (defects) found during your test</p><p>For executing the functional tests, we add rules to these components. For example:</p><ul><li>The execution of a test plan creates a new revision of the corresponding test report</li><li>A test plan is not executed if the prerequisite is not fulfilled, i.e. no test report is created</li><li>A test report cannot be failed and have no deviations</li><li>A test report cannot be passed and have deviations</li><li>…</li></ul><h3>Conclusion</h3><p>Black box testing is a type of software testing that doesn’t require in-depth knowledge of the internal logic or source code of the item being tested. Black box testing is an effective way to decide if a system’s design meets its requirements and to avoid errors in implementation.</p><p>The importance of functional tests is well-known. They are the most effective way to ensure that your application is working as expected. Functional tests are repeatable and should be automated.</p><p>Planning of black box tests is essential as the testing is only defined by input and output. To be valuable a test plan/test report structure is created which defines how the test was executed and which deviations were found.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b599795c827" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Test Automation for Software Tests. Is everything better with AI?]]></title>
            <link>https://medium.com/@tobias-does-test-automation/ai-test-automation-for-software-tests-is-everything-better-with-ai-33a0933e40f8?source=rss-2457846b378f------2</link>
            <guid isPermaLink="false">https://medium.com/p/33a0933e40f8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[tobias does test automation]]></dc:creator>
            <pubDate>Mon, 29 Nov 2021 15:32:13 GMT</pubDate>
            <atom:updated>2021-12-01T16:58:34.119Z</atom:updated>
            <content:encoded><![CDATA[<p>AI has been around for more than 50 years. Artificial intelligence is not new, but the recent developments of deep learning and convolutional neural networks combined with increased compute power and extended storage capacity has made it possible to create an AI that can solve complex problems. These new AIs are replacing humans in several areas, but is everything better with AI?</p><p>This blog post will cover some of the pros of using AI test automation for software tests and some of the cons. To learn more about how testing can be improved with AI, read on!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6KsKFD_F-WRnBV4b" /><figcaption>Photo by <a href="https://unsplash.com/@hiteshchoudhary?utm_source=medium&amp;utm_medium=referral">Hitesh Choudhary</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What is AI</h3><p>Artificial Intelligence is the simulation of human intelligence processes by machines, especially computer systems. AI is a broad and complex topic, but we can break it down into two major categories: artificial narrow intelligence and artificial general intelligence.</p><p><strong>Artificial narrow intelligence</strong> is when a machine mimics a human’s intellectual ability. It can solve a very specific problem and has a limited range of tasks.</p><p><strong>Artificial general intelligence</strong> is when a machine mimics a human’s intellectual ability and can do any intellectual task that a human can.</p><p>AI test automation for software tests is an example of artificial narrow intelligence that is capable of performing software tests.</p><h3>How can you integrate AI into your software testing process?</h3><p>For software testing you can use AI in two different scenarios.</p><h4>Decisions, i.e. is something right or wrong</h4><p>As we have already established AI test automation for software tests is an example of artificial narrow intelligence. In practical terms that means it cannot distinguish if something is right or wrong on its own. <strong>For this the AI needs to have an understanding of the intended use of an application</strong>. Something only a general intelligence will be able to do.</p><p>Today, AI needs training and cannot deviate new knowledge from training data. <strong>Let me give you a practical example</strong>: You train your AI to always click the “Cancel” button if the “Do you accept cookies” popup occurs. One day the popup is redesigned to ask “Do you accept all cookies or do you want to set up your preference”. The AI will still press the Cancel button, because that is what you’ve trained it to do. While pressing cancel did not accept the cookies till today it will now accept all. <strong>While you don’t retrain your AI it will continue to work but give wrong results.</strong></p><p>For decision scenarios, AI can click around in your software and see if it crashes, as that is clearly not the intent of your application. But that is it.</p><p>In summary, do not use AI for decision-making tasks in software testing today.</p><h4>Augmentation, i.e. help select all elements that define a screen, etc.</h4><p>If you have a big amount of data and a need to find similarities, that is one of the scenarios where AI can shine. Assume you have 100 failed test cases and you have stack traces for all of them. Over time, your AI can learn correlations between stack traces and real root causes a lot better than every human.</p><p>The same if true if you need to find a lot of similar elements for Visual Testing. Train you AI with a few and it will be able to find similar elements in your application. <br>That is what test.ai did in the past: They’ve trained their model with thousands of shopping cart symbols to allow you to write “click on shopping cart”. <strong>The AI would be able to find the shopping cart button in your app while it has never seen it before.</strong></p><p>Brilliant use of AI to help you to save time.</p><h3>Don’t forget: AI is a lot of marketing buzz as well</h3><p>While there are valid scenarios, never forget that Artificial Intelligence is still a buzz word and you’ll hear a lot of things that AI magically fixes, that cannot be true.</p><p>A good example is flakiness, i.e. a test case randomly fails because of the automation and not because of the subject under test (SUT). AI is only a band-aid that brings you from x% flakiness to x-1% flakiness.</p><p><a href="https://www.testresults.io/blog/ai-in-testing/">I have a dedicated blog post about those myths in AI. Click here.</a></p><blockquote>Next time someone tells you about their great AI for software testing, ask them how they have tested it (the AI) — Please let me know the answers ;)</blockquote><h3>The Pros and Cons of AI in software testing</h3><p>In Software Testing, AI is mostly applied to automated test execution, therefore the usual test automation pros apply:</p><ul><li>Can work longer hours than humans, freeing up time for other tasks</li><li>Can work around the clock, freeing up time for sleep</li><li>Can complete tasks more quickly than humans</li><li>Can handle more complex tasks than humans</li></ul><p><strong>What are the pros of using AI in software testing?</strong> I want to highlight two, that are usually not mentioned:</p><ul><li>AI can cut bias</li><li>AI can be more accurate than humans</li></ul><p><strong>What are the cons of using AI in software testing?</strong></p><ul><li>AI can make errors due to data input or algorithm flaws</li><li>AI can make errors due to human input</li><li>AI does not have the same judgement as humans</li><li>AI may produce unwanted side effects</li></ul><h3>Conclusion</h3><p>Overall, I think that AI will not revolutionize the software testing industry. But it will improve continuous testing, which will help catch bugs before they are released to the public in DevOps environments.</p><p>Today, AI in software testing is used for tasks like improving OCR results, identifying fuzzy images, classifying elements, comparing layouts by perception etc.</p><p>As time goes on, I think that AI will be able to do more complex things, like testing for security risks or performance issues that a human could not even think of. But it will not deliver on the promise like the one of zero flakiness, for example. That is ok, as there is no need for AI to do so as flakiness is a problem introduced by how the tests are executed. Take <a href="https://www.testresults.io/">TestResults.io</a> as an example for a test platform that uses a fundamentally different approach and therefore removes scenarios that usually lead to flakiness from the equation. <a href="https://www.testresults.io/">Check it out</a>.</p><p>However, this is IT and who can predict the next 5–7 years? Once we are able to develop an artificial general intelligence which understands the intended use of our applications, we don’t need to test anymore. On the other hand, at that point we do not need to develop applications anymore, at all.</p><p>Software will finally be able to understand our intent. No more manuals, support hotlines, IT experts, … It will really be like “Siri, work through all my emails today and do what I would have done and, btw, do this every day from now on”.</p><p>In summary, AI is nothing new, but we did move the limits in which it operates.</p><blockquote>-tobias</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33a0933e40f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated testing based on AI makes testing obsolete!]]></title>
            <link>https://medium.com/@tobias-does-test-automation/automated-testing-based-on-ai-makes-testing-obsolete-b31cbaf83aa8?source=rss-2457846b378f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b31cbaf83aa8</guid>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[trio]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[tobias does test automation]]></dc:creator>
            <pubDate>Mon, 07 Oct 2019 10:53:40 GMT</pubDate>
            <atom:updated>2019-10-07T10:53:40.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*YO2EhChBLKEF0qKwKglnaw.jpeg" /></figure><p>I started with a bold statement and throughout this article I will show why this is in fact the case.</p><p>In addition you will:<br>(1) refresh your testing glossary in terms of “checking”, “testing” and “approval”<br>(2) learn why you might read statements like “testing cannot be automated” in the testing community<br>(3) see why automated testing will not be required in the future</p><h3>Some background to bring you up to speed</h3><p>Is it “testing” or “checking”? The first discussion that is going on for quite some time is testing vs. checking. If you are not familiar with Michael Bolton’s Rapid Software Testing (<a href="http://www.developsense.com/courses.html">RST</a>) [1] you might have never heard about it. If you want to get in-depth details regarding the topic, follow the link to this article [2]. If you have some additional spare time, check out a very intense Twitter discussion which followed it [3].</p><p>To save you some time, I copied the latest definitions of testing and checking below, followed by a 1-sentence summary formulated by me.</p><p>Before you get the summary, here are the definitions as used by Bolton et al. [2]:</p><blockquote>“Testing is the process of evaluating a product by learning about it through exploration and experimentation, which includes to some degree: questioning, study, modeling, observation, inference, etc.”</blockquote><p>and</p><blockquote>“Checking is the process of making evaluations by applying algorithmic decision rules to specific observations of a product.”</blockquote><p>My 1-sentence summary: Testing helps you to learn something new, while checking confirms something you already knew.</p><p>How does “approval” fit into that? Approval is an interesting concept which implies that you learn about the software by its usage — so it can be classified as testing. Think about it like this: A first version of a new word processor was released and happily accepted by the market. Nevertheless, a bug slipped through which creates a new page every time a user triple clicks a page (it is a wierd coding bug). Version 2 fixes this problem and there is an uproar from your user base afterwards as 90% of your users relied on that functionality.</p><p>That is what approval is about: Don’t use the specification as the input on how a system should behave. Instead, use the current version of the system to identify differences between the currently accepted state (which does include bugs) and the newly anticipated state, i.e. your new software version.</p><h3>Why I think you must be able to differentiate between testing and checking?</h3><p>It helps you to better position test automation tools in the domain of testing. If a vendor is selling you a tool for test automation it doesn’t mean that he is selling you a tool that automates your testing. He is selling you a tool that allows you — in the best case — to automate your checking. And that is an important difference.</p><p>You still need to write your test cases (see my blog entry on that [4]). We all know that writing test cases is an extreme simplification of:</p><ul><li>Understanding requirements</li><li>Understanding specifications</li><li>Understanding software implementation</li><li>Identifying gaps between requirements and specifications</li><li>Discussing with stakeholders what the software should really do</li></ul><p>Most of the time you will be the first person that really challenges the requirements etc. And that is only the happy path testing. Think about negative testing as well. It requires a completely new test vector that you will need to cover:</p><ul><li>Understanding platform limits to challenge them</li><li>Understanding underlying development frameworks</li><li>Understanding dependencies</li><li>Understanding deployment implications, ….</li></ul><p>In a nutshell: To write test cases you need to learn a lot. Which brings us back to the previously mentioned “testing”. Therefore, there is no tool out there today that can automate this extremely difficult process. If somebody tries to make you believe that is possible, challenge them how an AI-based tool would understand the “Intended Use” of your application (I borrowed the term Intended Use from the FDA [5]).<br>Not only that, it is a bit more than what the FDA asks for, it needs to include the understanding of what a malicious use would be if we also speak about negative testing.</p><p>All of this leads to one single result: Based on today’s technology testing cannot be automated.</p><p>Checking, being a discipline within the context of testing, on the other hand, can be automated. What a normal test automation tool should help you with is to execute test cases. That is the bare minimum. Some advanced tools, e.g. TestResults.io [6], also help you to collect evidence automatically and provide you means of approval.</p><h3>Will this change in the future?</h3><p>As future is not predictable, I cannot give you a straight answer. To understand the completeness of a software (Halting Problem [7]) is the first step into the direction of automated testing — within the description given above. Even if that would ever be solved, the next challenge is to identify the possible state transitions that are important to fulfill the Intended Use. You can imagine this might be quite hard. Why? Do you know any human out there that would liable claim that he/she fully understands a software?</p><p>Not only do we need to have a kind of AGI (Artificial General Intelligence) [8] to automate testing but it also needs to be far more evolved than today’s human intelligence — based on your answer to the question about a human understanding a software fully. If we ever reach this point in technology, then testing should not be a concern anymore as the code was already created by the AGI.</p><p>This leads us to another statement: As soon as we have a real automated testing solution, we don’t need testing anymore. Which is exactly what I’ve promised to show.</p><h3>Does it really affect you?</h3><p>Does all of this affect you in your daily life? This is a valid question. I assume it does not. It is always good to understand the differences.</p><p>Does it affect me, Tobias Müller? Yes, it does!</p><p>Whenever I must explain to our customers why TestResults.io is superior than any other test automation tool…. errrrr…. check automation tool, this differentiation helps. As TestResults.io is also a tool that helps you with testing, not only checking. For example, the human factor, a specialized technique that automatically “checks” the SUT for deviations from previous runs, allows you to gather insights i.e. new learnings more quickly. Therefore, it does not only automate your checking but also assists you in your testing.</p><p>I hope this short entry helped you in understanding the differences between testing, checking and approval. Perhaps, even more important, it helped you to find the right tools for your daily testing. Why do we nevertheless market TestResults.io as an Automated Testing tool? Good question! Contact me and I will tell you.</p><p>1) <a href="http://www.developsense.com/courses.html">http://www.developsense.com/courses.html</a><br>2) <a href="http://www.satisfice.com/blog/archives/856">http://www.satisfice.com/blog/archives/856</a><br>3) <a href="https://twitter.com/marlenac/status/865234381622738945">https://twitter.com/marlenac/status/865234381622738945</a><br>4) <a href="https://www.testresults.io/blog/how-to-write-a-really-good-test-plans">https://www.testresults.io/blog/how-to-write-a-really-good-test-plans</a><br>5) h<a href="https://www.fda.gov/RegulatoryInformation/Guidances/ucm073944.htm">ttps://www.fda.gov/RegulatoryInformation/Guidances/ucm073944.htm<br></a>6) <a href="https://www.testresults.io/">https://www.testresults.io<br></a>7) <a href="https://en.wikipedia.org/wiki/Halting_problem">https://en.wikipedia.org/wiki/Halting_problem<br></a>8) <a href="https://en.wikipedia.org/wiki/Artificial_general_intelligence">https://en.wikipedia.org/wiki/Artificial_general_intelligence</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b31cbaf83aa8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>