<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4585201738600758310.post7000004887906292575..comments</id><updated>2010-01-01T16:16:35.404Z</updated><title type='text'>Comments on The Automated Tester: Testing Should Be Elegant</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.theautomatedtester.co.uk/feeds/7000004887906292575/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4585201738600758310/7000004887906292575/comments/default'/><link rel='alternate' type='text/html' href='http://blog.theautomatedtester.co.uk/2009/11/testing-should-be-elegant.html'/><author><name>David Burns</name><uri>http://www.blogger.com/profile/11233457684822187675</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4585201738600758310.post-7602427411284770746</id><published>2009-11-07T13:17:28.369Z</published><updated>2009-11-07T13:17:28.369Z</updated><title type='text'>"Test automation is slightly more elegant but to b...</title><content type='html'>&amp;quot;Test automation is slightly more elegant but to be honest it isn&amp;#39;t as elegant as it should be!&amp;quot;&lt;br /&gt;&lt;br /&gt;OK, isn&amp;#39;t it too subjective?&lt;br /&gt;&lt;br /&gt;Let me follow up with an example you mentioned as well. A dev changes the layout resulting in a number of tests you need to manually update, even one by one inspecting the new layout. Yes, I&amp;#39;ve had a lot of experience like that .. when I was using Selenium for instance. ;)&lt;br /&gt;&lt;br /&gt;Imagine the following. When the above happens a lot of tests fail. Next, you &amp;quot;open&amp;quot; just one failure seeing something like:&lt;br /&gt;&amp;quot;Cannot find element with path [some_path] and ID [some_ID].&amp;quot; followed by a red &amp;#39;X&amp;#39;. You also see a next line/dialog suggesting another path/ID/both instead followed by a green &amp;#39;V&amp;#39;. There is a button having content &amp;quot;Update&amp;quot;. You will press it, won&amp;#39;t you? As soon as you do that you get another dialog listing all the steps in this test using the same element you&amp;#39;ve just updated as well as all the other tests in the project that you can automatically update. You can select everything to update resulting in all the tests &amp;quot;fixed&amp;quot; in seconds.&lt;br /&gt;&lt;br /&gt;Isn&amp;#39;t that elegant? Would you like me to show you a real example instead of typing down a dream? ;)&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;-Konstantin</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4585201738600758310/7000004887906292575/comments/default/7602427411284770746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4585201738600758310/7000004887906292575/comments/default/7602427411284770746'/><link rel='alternate' type='text/html' href='http://blog.theautomatedtester.co.uk/2009/11/testing-should-be-elegant.html?showComment=1257599848369#c7602427411284770746' title=''/><author><name>Konstantin</name><uri>http://www.blogger.com/profile/03688899148887998067</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.theautomatedtester.co.uk/2009/11/testing-should-be-elegant.html' ref='tag:blogger.com,1999:blog-4585201738600758310.post-7000004887906292575' source='http://www.blogger.com/feeds/4585201738600758310/posts/default/7000004887906292575' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-4585201738600758310.post-8130375278032849680</id><published>2009-11-02T21:10:14.767Z</published><updated>2009-11-02T21:10:14.767Z</updated><title type='text'>A very simple example of elegance in a manual test...</title><content type='html'>A very simple example of elegance in a manual test would be to add, update and then delete a record because you can do this all with one record. I once saw this test written with the delete first. But you still had to add a record to delete it! Duh?&lt;br /&gt;&lt;br /&gt;I think I&amp;#39;d approach your example a bit pragmatically. Most modern databases will only let you enter data that conforms to the datatype of the field in question, so there is really no point in trying to type alpha characters into a datetime field. I&amp;#39;d probably still test date validation though, things like Feb 29th etc. If there were 6 fields I&amp;#39;d have a test for each one on its own and a test where data was entered in all the fields. The rest would depend entirely on what the fields are. I have seen tests where every single value of a listbox is tested separately, but frankly, if you can select one item from the list you can select them all. &lt;br /&gt;&lt;br /&gt;One thing I&amp;#39;m conscious of making my tests inelegant is the testware I have to use. I wrote far more elegant tests in a 3 column Word table than I can in  the rather flaky test editing software we have at work.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve probably gone into far too much detail. I&amp;#39;ve always found it easier to write tests than to be articulate about what I do. Perhaps I should write more.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4585201738600758310/7000004887906292575/comments/default/8130375278032849680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4585201738600758310/7000004887906292575/comments/default/8130375278032849680'/><link rel='alternate' type='text/html' href='http://blog.theautomatedtester.co.uk/2009/11/testing-should-be-elegant.html?showComment=1257196214767#c8130375278032849680' title=''/><author><name>Liz</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.theautomatedtester.co.uk/2009/11/testing-should-be-elegant.html' ref='tag:blogger.com,1999:blog-4585201738600758310.post-7000004887906292575' source='http://www.blogger.com/feeds/4585201738600758310/posts/default/7000004887906292575' type='text/html'/></entry></feed>