TesterHQ - The Evil Tester Blog Aggregator

Feb 24, 2011 - 2 minute read - Evil Tester Techniques

Exploratory Testing Lessons from the Tao Te Ching

Tony Bruce posted some quotes inspired by Taoist traditional writing from The Magic of Metaphor. I have a particular fondness for Taoist classics and I have a fair few translations of the Tao Te Ching on my bookshelf. I love the feeling of simplicity generated when reading. I cherry picked the following quotes with a relevance to my testing. If you have not before taken the following approaches in your testing then I encourage you to try them (failing this you could just read “The Berenstain Bears Inside, Outside, Upside Down” as initially recommended to me by Rob Sabourin):

Feb 21, 2011 - 2 minute read - Entertainment Evil Tester

Can a new certification survey change the landscape of Software TestingCertification?

I doubt it, but what the heck. Let’s try. Inspired I was by Dot Graham’s explanation of the original reasons behind certification in “Certification is evil?“. Which in turn was inspired by the Software Testing Club “Tester is for life, not just for Christmas” e-book. My views on certification in the e-book were “You’re better off becoming an ordained minister from the Church of the Subgenius for only $30.00 than putting any money, or time, towards the Testing Certification Scam.

Dec 29, 2010 - 3 minute read - Evil Tester Selenium Selenium Simplified

So now you have a choice of Selenium Testing books and ebooks

Both my and David Burns’ books are now available on amazon: Mine: Selenium Simplified   [amazon.com] [amazon.co.uk] published by Compendium Developments David’s: Selenium 1.0 Testing Tools   [amazon.com] [amazon.co.uk] published by Packt I think both books complement each other well, and you can check for yourself with the free previews available: compare table of contents: David’s, Mine previews of both books: David’s,  Mine – at scribd, on google docs David spends more time on the Selenium IDE than I do, half of the book covers the IDE, so his book provides excellent coverage of IDE usage.

Jun 30, 2010 - 5 minute read - Evil Tester Selenium Selenium Simplified

What if Selenium's Highlight Command was always on?

A reader asked for recommendations on how to use Selenium’s “Highlight” command. Now I personally don’t use the highlight function. Never really have. When I debug my tests, I step through the script in Eclipse (I write all my tests in Selenium-RC using Java). But, by using reflection to automatically generate code for a java class we can run the highlight command prior to executing other Selenium commands, without amending our existing tests.

May 26, 2010 - 6 minute read - Evil Tester Selenium

A Selenium CaptureNetworkTraffic Example in Java

When I learned about Selenium’s ability to capture network traffic I was really excited. This opened up a whole new world of testing possibilities. I could capture the Ajax requests made to the server and check them for validity. When I visit pages I can check the web analytics messages sent back and check their correctness. So this post explains a little about how to use CaptureNetworkTraffic. I found two blog posts useful when learning about capturenetworktraffic:

Apr 2, 2010 - 3 minute read - Selenium Simplified Blog Selenium-RC

Selenium Example – How to Amend the JavaScript of the Web Application Under Test

Why would you want to change the JavaScript of a web application you have to test? Well, if you want to test that events get triggered correctly and the basic structure of the page rather than the actual functionality implemented by the JavaScript. Perhaps the JavaScript does something that you can’t handle with the automation tool, but you still want to cover the basics of the page? This code snippet shows one way to do it.

Mar 19, 2010 - 5 minute read - Evil Tester Tools

A poor man's testing Head Up Display

James Whittaker has talked and blogged about Testing HUDs. In this post I will show you how to build a simple HUD for testing web applications. And In true Blue Peter stylee you can find all the things you need, for free, a few clicks away on the internet (Samurize, Fiddler). A HUD (Heads Up Display) allows us to ‘see at a glance’ important real time information that we might not otherwise have access to.

Mar 13, 2010 - 1 minute read - Evil Tester Selenium

A simple getCSSCount for use with Selenium-RC

We know that XPath runs slowly in IE, but XPath has the getXPathCount method. And CSS runs quickly but Selenium doesn’t have a corresponding getCSSCount method. I looked around for a simple way of getting count from a CSS selector. I found this blog post by Aditya Ivaturi, but since I like to keep my Selenium setup and tests pretty simple, I wanted a much lower maintenance way of implementing the getCSSCount functionality.

Mar 11, 2010 - 1 minute read - Evil Tester Selenium Tools

Use Firefinder to help you construct Selenium CSS selectors

Looking through the archive of blog posts, I can see that I mentioned various tools for Xpath construction, but none for CSS selectors in Selenium. Let’s change that now… Firefinder helps you test your css selectors and XPath statements before committing them to Selenium code. Firefinder, much like XPather or XPath Checker, allows you to type in a css selector and ‘filter’ the page with the css selector so you can see what matches the selector you entered.