<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>QA Hates You &#187; Automated testing</title>
	<atom:link href="http://qahatesyou.com/wordpress/category/automated-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://qahatesyou.com/wordpress</link>
	<description>You suspected it.  Now you know it.</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:56:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Is Your Automated Testing A Mechanical Turk?</title>
		<link>http://qahatesyou.com/wordpress/2011/08/is-your-automated-testing-a-mechanical-turk/</link>
		<comments>http://qahatesyou.com/wordpress/2011/08/is-your-automated-testing-a-mechanical-turk/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 11:42:12 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/?p=2048</guid>
		<description><![CDATA[The Mechanical Turk was a chess-playing device constructed in the 18th century that used a complex set of gears and pistons and whatnot to play chess. Well, it used those things to convey the impression that it was playing chess. Instead, a man sat hidden inside the machine to do the actual work: The Turk, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/The_Turk" target="_blank">The Mechanical Turk</a> was a chess-playing device constructed in the 18th century that used a complex set of gears and pistons and whatnot to play chess.  Well, it used those things to convey the impression that it was playing chess.  Instead, a man sat hidden inside the machine to do the actual work:</p>
<blockquote><p>The Turk, the Mechanical Turk or Automaton Chess Player was a fake chess-playing machine constructed in the late 18th century. From 1770 until its destruction by fire in 1854, it was exhibited by various owners as an automaton, though it was exposed in the early 1820s as an elaborate hoax.[1] Constructed and unveiled in 1770 by Wolfgang von Kempelen (1734–1804) to impress the Empress Maria Theresa, the mechanism appeared to be able to play a strong game of chess against a human opponent, as well as perform the knight&#8217;s tour, a puzzle that requires the player to move a knight to occupy every square of a chessboard exactly once.</p>
<p>The Turk was in fact a mechanical illusion that allowed a human chess master hiding inside to operate the machine. With a skilled operator, the Turk won most of the games played during its demonstrations around Europe and the Americas for nearly 84 years, playing and defeating many challengers including statesmen such as Napoleon Bonaparte and Benjamin Franklin. Although many had suspected the hidden human operator, the hoax was initially revealed only in the 1820s by the Londoner Robert Willis.[2] The operator(s) within the mechanism during Kempelen&#8217;s original tour remains a mystery. When the device was later purchased in 1804 and exhibited by Johann Nepomuk Mälzel, the chess masters who secretly operated it included Johann Allgaier, Boncourt, Aaron Alexandre, William Lewis, Jacques Mouret, and William Schlumberger.</p></blockquote>
<p>If you&#8217;re automation effort requires the active, ongoing effort of someone to keep the fragile scripts built with an unperfect test tool up-to-date with the application, you&#8217;re not building an automated test suite&#8211;you&#8217;re building The Turk.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2011/08/is-your-automated-testing-a-mechanical-turk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Law of Diminishing ROI</title>
		<link>http://qahatesyou.com/wordpress/2011/05/the-law-of-diminishing-roi/</link>
		<comments>http://qahatesyou.com/wordpress/2011/05/the-law-of-diminishing-roi/#comments</comments>
		<pubDate>Tue, 24 May 2011 15:44:44 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/?p=1933</guid>
		<description><![CDATA[Some of you might be familiar with a particular facet of the laws of economics called &#8220;The Law of Diminishing Returns.&#8221; Basically, it says that after some point, more effort is not going to provide enough benefit/profit to justify the continued effort. Granted, to some organizations, any QA is diminishing returns. Fortunately, if you have [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you might be familiar with a particular facet of the laws of economics called &#8220;<a href="http://en.wikipedia.org/wiki/Law_of_Diminishing_Returns" target="_blank">The Law of Diminishing Returns</a>.&#8221;  Basically, it says that after some point, more effort is not going to provide enough benefit/profit to justify the continued effort.</p>
<p>Granted, to some organizations, <em>any</em> QA is diminishing returns.  Fortunately, if you have a job in QA, you don&#8217;t work for an organization that believes that.  However, at some point, your organization thinks it has had enough QA.  As far as testing goes, I argue that you cannot really guess at what point that happens.  You might run hundreds of test cases through the third time, perhaps using automation for the routine stuff, and not uncover new defects.  But a show-stopping defect might lie outside whatever tests you have mapped out and tried now, but with another week you might have thought up some new wrinkle in workflow to try (or might have arisen after daylight savings time started the week after you stopped testing or some other environmental concern).</p>
<p>So I won&#8217;t concede at any point that there&#8217;s a diminishing return at any point at the end of the test cycle.  However, I do think the law applies at the beginning of the cycle with automated testing.</p>
<p>I say this after reading <a href="http://www.farragutservices.com/blogs/QAblog/?p=158" target="_blank">this</a>:</p>
<blockquote><p>
In my last blog I shared the “World Quality Report” from Capgemini. One of the QA challenges that the report cited was a slow adoption of automation tools early in the cycle. Why? According to the report, it’s hard to realize the ROI. </p></blockquote>
<p>The author goes on to give an example of how automation helped realize ROI <em>over the long term</em>, particularly when the product reached a level of stability and regression tests were run over and over again.  That is when it is the proper time to introduce automation, but it is <em>not</em> early in the cycle.</p>
<p>Early in the software development cycle includes requirements gathering, discussions with users, some sort of mockups, and early, unstable builds that are not feature complete and whose GUIs will change based on feedback and whatnot.  In these <em>early</em> stages, it does not make sense to add an automated tester <em>except</em> to bring up concerns and points about automated testing, including how to best build the application to include testable GUI practices and test harnesses and whatnot.  </p>
<p>Starting to build automated scripts against mockups or against those unstable, buggy builds would require more effort in script maintenance than you would receive benefits.  If you need to select a tool, it&#8217;s probably too early to make the decisions as to which tool(s) to use since the GUI might go in a different direction that would make a different tool (or tools) a better fit.</p>
<p>The law of diminishing returns definitely applies to automated testing early in the SDLC.</p>
<p>On the other hand, if your product/project is going to run long term with numerous build cycles, it does make sense to automate.  <em>On the back end.</em></p>
<p>Automated testing, really, is a misnomer.  The testing is not automated.  It requires someone to build it and to make sure that the scripts remain synched to a GUI.  If the GUI changes or the user workflow changes, a tester needs to not expend effort on testing, but on revising the automated scripts&#8211;which might run once for a single build cycle before requiring further revision.</p>
<p>It&#8217;s computer-run scripted testing.  If we just called it that, people would understand it better and expect less magic from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2011/05/the-law-of-diminishing-roi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Much Do You Trust Your Third Party Partners Now?</title>
		<link>http://qahatesyou.com/wordpress/2010/09/how-much-do-you-trust-your-third-party-partnersnow/</link>
		<comments>http://qahatesyou.com/wordpress/2010/09/how-much-do-you-trust-your-third-party-partnersnow/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 13:56:22 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>
		<category><![CDATA[Best practices]]></category>
		<category><![CDATA[Failed applications]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/?p=1386</guid>
		<description><![CDATA[Your organization probably trusts its third party integrated software partners as much as J.P. Morgan used to: JPMorgan Chase is trying to move past three days of problems on its online banking site with an apology and an explanation that seems to put the cause on a third party. The bank&#8217;s online site went offline [...]]]></description>
			<content:encoded><![CDATA[<p>Your organization probably trusts its third party integrated software partners as much as <a href="http://www.computerworld.com/s/article/9186238/JPMorgan_Chase_deposits_blame_sort_of_for_outage_" target="_blank">J.P. Morgan used to</a>:</p>
<blockquote><p>
JPMorgan Chase is trying to move past three days of problems on its online banking site with an apology and an explanation that seems to put the cause on a third party.</p>
<p>The bank&#8217;s online site went offline Monday night and remained offline Tuesday. Service appeared restored by Wednesday, although there were some reports by Twitter users of problems.</p>
<p>The bank, in a statement posted online, said it was &#8220;sorry for the difficulties&#8221; that customers encountered, and said &#8220;we apologize for not communicating better with you during this issue.&#8221;</p>
<p>At first, Chase simply cited a &#8220;technical issue&#8221; for the problem. It has since provided a little more information.</p>
<p>The bank, the nation&#8217;s second largest, said in a separate statement that a &#8220;third party database company&#8217;s software caused a corruption of systems information disabling our ability to process customer log-ins to chase.com.&#8221; It added that the problem &#8220;resulted in a long recovery process.&#8221;</p></blockquote>
<p>Now, how can you try to keep this from happening to you?</p>
<ul>
<li><strong>Compel your vendors to tell you about their updates.</strong>  Ideally, you would get a chance to test your software against their new versions before they promote them to production, but at the very least, they better tell you when they plan to put things up so you can test immediately.  Remember, your &#8220;trusted&#8221; partners are organization filled with the same lying developer dogs as yours, but without the QA.</p>
</li>
<li><strong>Don&#8217;t do business with companies that practice continuous deployment.</strong>  Seriously, they can promote at will and at whim, so your mission-critical software can fail at any time, without any warning, and without any clue that it&#8217;s not your fault.
</li>
<li><strong> Run automated smoke tests against your production site as often as you can stand.</strong>  Depending upon the nature of the application, this might only be daily, but the more frequently you can sanity check your production environment, the better.  There&#8217;s nothing better than calling your head of development on Christmas Eve to tell him the site&#8217;s down before your users or clients even know.</li>
</ul>
<p>Remember, you have no trusted partners.  You should trust them even less than you trust your own organization, if you can imagine that.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2010/09/how-much-do-you-trust-your-third-party-partnersnow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Can You Tell An Experienced Automated Tester?</title>
		<link>http://qahatesyou.com/wordpress/2010/09/how-can-you-tell-an-experienced-automated-tester/</link>
		<comments>http://qahatesyou.com/wordpress/2010/09/how-can-you-tell-an-experienced-automated-tester/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 17:23:09 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/?p=1315</guid>
		<description><![CDATA[How can you tell an experienced automated tester from either an automated testing software solution vendor or someone who&#8217;s heard a buzzword dog whistle and is salivating on cue at the chance to work somewhere that&#8217;s included Automated Testing on a job posting? An experienced automated tester is going to spend more time trying to [...]]]></description>
			<content:encoded><![CDATA[<p>How can you tell an experienced automated tester from either an automated testing software solution vendor or someone who&#8217;s heard a buzzword dog whistle and is salivating on cue at the chance to work somewhere that&#8217;s included Automated Testing on a job posting?</p>
<p>An experienced automated tester is going to spend more time trying to tell you what automated testing isn&#8217;t instead of what it is.  Because you&#8217;ve probably got a pie-in-the-sky you&#8217;re slicing to share for dessert.</p>
<p>Cue <a href="http://ubertest.hogfish.net/?p=224" target="_blank">Trisherino</a>:</p>
<blockquote><p>I think people have a tendency to greatly underestimate the difficulty of writing a good GUI-automation suite. It’s not as simple as record and playback, and it’s not like building regular software.</p>
<p>I’ve seen experienced developers underestimate it many times. Inevitably, they end up getting very frustrated and complaining about how rubbish the automation tools are. And yes, the poor quality of automation tools is definitely part of the problem. Developers are used to using very polished tools, lovingly crafted by developers, for developers. Testers are used to using either bloated overpriced commercial tools, condescendingly oversimplified so that “anyone” can use them, or well-meaning but under-maintained free tools, struggling to keep up with the latest technologies.</p></blockquote>
<p>What she said.</p>
<p>You know why developers are so hot for automated testing?  They&#8217;re used to thinking they can push software around.  Unlike some QA people who refuse to be intimidated by their obvious GENIUSSSS!</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2010/09/how-can-you-tell-an-experienced-automated-tester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Myth of the Automatic Automated Benefit</title>
		<link>http://qahatesyou.com/wordpress/2009/03/the-myth-of-the-automatic-automated-benefit/</link>
		<comments>http://qahatesyou.com/wordpress/2009/03/the-myth-of-the-automatic-automated-benefit/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 16:00:15 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/2009/03/31/the-myth-of-the-automatic-automated-benefit/</guid>
		<description><![CDATA[Scary Tester does a good bit of putting a positive spin on when it&#8217;s best to do automated testing: Automated tests are suitable for the following purposes: -    Regression testing for a stable system that will be run on a regular basis -    Fast data creation in test systems where the database must be wiped [...]]]></description>
			<content:encoded><![CDATA[<p>Scary Tester <a href="http://ubertest.hogfish.net/?p=75">does a good bit</a> of putting a positive spin on when it&#8217;s best to do automated testing:</p>
<blockquote><p>Automated tests are suitable for the following purposes:<br />
-    Regression testing for a stable system that will be run on a regular basis<br />
-    Fast data creation in test systems where the database must be wiped on a regular basis</p>
<p>Automated tests are NOT suitable for the following purposes:<br />
-    Testing new functionality – this should be done manually before automated tests are created<br />
-    Regression testing systems that are expected to have significant user interface changes. Large changes to the user interface require a lot of maintenance for automated tests.</p></blockquote>
<p>You know, testers make these arguments over and over again, but I&#8217;ve gone into a number of places to talk about starting QA efforts on major product lines or to work on smaller (160 hour) projects where the principal involved wants automated testing.  Usually on an evolving product and with only one QA person.  Try as I might to dissuade them, they go out and find someone willing to bill them less fruitful hours of QA work because that&#8217;s what the client wants.  And the client/employer gets it: an automated effort of some sort, a low defect count (because the QA person spent hours selecting/writing/maintaining automated scripts instead of testing.</p>
<p>But Scary Tester&#8217;s and my commentaries fall on sympathetic ears.  Meanwhile, <em>Baseline</em> magazine will run a bunch of ads from software companies selling automated testing software and amid a splashy article about how automated tests can do the work of 20 monkey testers.</p>
<p>I think I&#8217;m repeating myself, aren&#8217;t I?</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2009/03/the-myth-of-the-automatic-automated-benefit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When Automation Goes To Hell&#8230;.Plus, a Pipe Dream</title>
		<link>http://qahatesyou.com/wordpress/2008/01/when-automation-goes-to-hellplus-a-pipe-dream/</link>
		<comments>http://qahatesyou.com/wordpress/2008/01/when-automation-goes-to-hellplus-a-pipe-dream/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 19:08:29 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>
		<category><![CDATA[Philosophy]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/2008/01/29/when-automation-goes-to-hellplus-a-pipe-dream/</guid>
		<description><![CDATA[In the January 2008 issue of Software Test and Performance (available as a PDF), the head of Parasoft, a QA software company, explains when automation efforts can go to pieces. Once QA has the new version in hand, they try to run the old regression test suite against the new version of the application. It [...]]]></description>
			<content:encoded><![CDATA[<p>In the January 2008 issue of <em>Software Test and Performance</em> (available as a <a href="http://stpmag.com/issues/stp-2008-01.pdf" target="_blank">PDF</a>), the head of Parasoft, a QA software company, explains when automation efforts can go to pieces.</p>
<p><span id="more-179"></span><br />
Once QA has the new version in hand, they try to run the old regression test suite against the new version of the application. It runs, but an overwhelming number of test case failures are reported because the code has changed so much.</p>
<blockquote><p>At that point, QA often thinks, &#8220;Instead of trying to modify these test cases or test scripts for the new version, we <em>[sic]</em> might as well go ahead and test it by hand because it&#8217;s the same amount of work, and even if I update it now, I&#8217;ll still have to update it all over again for the next version.&#8221; So they <em>[sic]</em> end up testing by hand, and typically come to the conclusion that automation is overrated.</p></blockquote>
<p>Perhaps he did mean to apply QA was schizophrenic in referring to itself in two different tenses in its own thoughts, neither of which matched the singular antecedent &#8220;QA.&#8221;</p>
<p>Regardless, his point mirrors one that I alluded to in <a href="http://qahatesyou.com/wordpress/2008/01/07/sometimes-automated-testing-is-folly/" target="_blank">Sometimes, Automated Testing Is Folly</a>.  That is, sometimes the maintenance hit for an automated testing suite outweighs its perceived benefits.</p>
<p>However, Adam Kolawa offers this solution:</p>
<blockquote><p>One is that team leaders must allocate sufficient budget and time for regression test suite development and maintenance. I&#8217;ve found that the best results are achieved when there&#8217;s roughly a <strong>50/50 distribution of effort between writing code that represents the functionality of the application and writing code that verifies that functionality. </strong><em>[Emphasis mine]</em></p></blockquote>
<p>I&#8217;ll pause here until such time as you pick yourself from the floor in shock or in laughter.</p>
<p>Perhaps that is a good mix, and perhaps it does make sense, but good luck on convincing your team stakeholders and pursestring and hourstring holders that you need one QA for every developer.</p>
<p>If you find that promised land of coffee and doughnuts, send me an application.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2008/01/when-automation-goes-to-hellplus-a-pipe-dream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>But I Like My Solutions Better</title>
		<link>http://qahatesyou.com/wordpress/2008/01/but-i-like-my-solutions-better/</link>
		<comments>http://qahatesyou.com/wordpress/2008/01/but-i-like-my-solutions-better/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 16:54:40 +0000</pubDate>
		<dc:creator>The Director</dc:creator>
				<category><![CDATA[Automated testing]]></category>

		<guid isPermaLink="false">http://qahatesyou.com/wordpress/2008/01/15/but-i-like-my-solutions-better/</guid>
		<description><![CDATA[This month (pdf) in Software Test &#38; Performance, editor Edward J. Correia again takes on automated software testing. The intro paragraph led me to believe he might have become a joyous skeptic, like us: Why, for instance, do we build software to test other software? This question has never before occurred to me, nor does [...]]]></description>
			<content:encoded><![CDATA[<p>This month (<a href="http://stpmag.com/issues/stp-2008-01.pdf">pdf</a>) in <em>Software Test &amp; Performance</em>, editor Edward J. Correia again takes on automated software testing.  The intro paragraph led me to believe he might have become a joyous skeptic, like <a href="http://qahatesyou.com/wordpress/2008/01/07/sometimes-automated-testing-is-folly/" target="_blank">us</a>:</p>
<blockquote><p>Why, for instance, do we build software to test other software? This question has never before occurred to me, nor does it parallel such mysteries as people who are financially wealthy but short on values. But it does bear some discussion.</p></blockquote>
<p>Does he then contemplate the possibility that trusting <em>software</em> to test <em>software</em> is something like telling criminals to police themselves?  Nah, he just marvels at the beauty of it.  As he should, since the automated software companies are the ones buying the ads in his magazine.</p>
<p>However, we at QAHatesYou.com disagree with his conclusion:</p>
<blockquote><p>Software is very good at automating things. So when automated testing is the need, why not use the best tool for the job? For the practice of automating software testing, the best tool happens to be more software. Sometimes the best tool is staring you right in the face.</p></blockquote>
<p align="left">Here at QAHatesYou.com, we have found in our experience that the following are sometimes better solutions, especially when tailored to limited budgets:</p>
<ul>
<li><strong>Zombies</strong>.  All you need are a recurring maintenance budget, i.e., <em>brains</em>.  You can certainly find some unused brains on your development team anyway.  So raise some dead and show them which keys to push, and wallah!  Automated software testing using the undead.</li>
<li><strong>Steam piston driven software appliances.  </strong>All you need is a machine shop, some wrenches, and boiling water to build complex steam-driven keyboard punchers.  Mouse-handling and pointing-and-clicking are less accurate, so you&#8217;ll have to work around that.  Also, remember to calibrate the finger-rods correctly, or they will punch right through the keyboard instead of efficiently delivering the keyclick you want.</li>
<li><strong>Monkeys.</strong>  Just kidding. We use all our monkeys for new functionality testing.</li>
</ul>
<p>Automated software testing is really only possible through the use of software, which comes with its own hazards which I&#8217;ll go into some other time.</p>
]]></content:encoded>
			<wfw:commentRss>http://qahatesyou.com/wordpress/2008/01/but-i-like-my-solutions-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

