TesterHQ - The Evil Tester Blog Aggregator

Aug 3, 2012 - 3 minute read - Selenium Simplified Blog WebDriver

Sporting Event Tribute Using Selenium WebDriver

As I write this, the capital city of England currently hosts a large sporting event. I can mention no names nor dates, for that sequence of words forms part of the protected thou shalt not use list. I don’t even know if ‘they’ will allow me to link to that page. Regardless, I created a small test app which pays tribute to sporting events through the years.   Since I grew up in the 80s, programming on ZX Spectrums, I have a fondness for scrolly text that judders.

Jun 15, 2012 - 1 minute read - Selenium Simplified Selenium Simplified Blog

Second Edition of Selenium Simplified is out

I just noticed that this blog only links to the first edition of Selenium Simplified on amazon. This is particularly tardy and particularly poor marketing since the Second edition has been out for some time. The 2nd edition is a refresh of the 1st edition. It doesn’t really have any new material, but has been updated so that all the old material works with the current versions of Selenium. You can find it on Amazon (these are affiliate links):

Jun 15, 2012 - 2 minute read - Selenium Simplified Blog WebDriver

I never expected ExpectedConditions

I was having a brief trawl through the Selenium codebase and noticed something I hadn’t seen before. An ExpectedConditions class which exposes a bunch of static methods to save me having to write code. And it does save me having to write code. For example in the past I would have written something like this: driver.get("http://compendiumdev.co.uk/selenium/calculate.php"); new WebDriverWait(driver,10). until(new TitleContainsCondition("Selenium")); This opens the driver to the page and waits until the Title contains the text “Selenium”.

Apr 6, 2012 - 4 minute read - Evil Tester Rants

Three Software Testing Books I'd like to read

I have trimmed out a lot of my Software Testing books. And by trimmed, I mean, dumped or traded in on Amazon. I still have a few left, some because I see real value in them, and others because my hoarding instinct overrides my Zen de-cluttering zeal. Here are 3 books I’d like to read. But they haven’t been written yet. Apologies to the author’s and artists associated with the books I’ve based these new books on, but my desire for humorous pastiche overrode any concern that the original creative forces might feel insulted.

Feb 17, 2012 - 3 minute read - Evil Tester Rants

Q: What is Testing? A: look inside...

What is Testing? Do you care? Why? Do you want to know because you want to know where the limits of your job start and end? Do you want to know because someone asked you that question and you think you need to give them an answer? Do you want to know because you really like definitions of abstract concepts? Do you want to know because you need to pass an exam and give someone the right answer?

Jan 12, 2012 - 1 minute read - Evil Tester Tools

Firepath, THE XPath and CSS Locator Addon For Firefox

First I used XPather, then it was FireFinder, and since neither of those seems particularly compatible with the most recent versions of Firefox… I now use FirePath. FirePath operates as a Firebug extension and provides a handy “Inspect in FirePath” context menu entry. FirePath handles XPath, CSS and JQuery selectors. I don’t have any spare tools extensions in my tool box, so if Firepath dies I’m not sure what I’ll do.

Oct 31, 2011 - 2 minute read - Evil Tester Techniques

Build your own model of software testing – or rediscover one from several thousand years ago

I was working out the kinks in my high level software testing model, and, through a process of speed reading and stichomancy I found that I have re-created an early Buddhist doctrine. In “The Story of Chinese Zen” by Nan Huai-Chin, I find listed the five Skandhas: form sensation conception activity consciousness I was boiling my model down to: model observe intent manipulate reflect I’ve re-ordered my list to tie in more closely to the Skandhas.

Oct 30, 2011 - 3 minute read - Evil Tester Techniques

Push your software testing personas to the limit

The notion of personas never really worked for me. “Bob is 35, single and likes kittens…” Blah Blah Blah. Clearly Bob has all the characteristics of a fictional closet psychopath. And that works better for me. “Bob is a closet psychopath”. I can use that sentence to inform my testing. I can attempt to test like a closet psychopath. Other personas you might want to adopt: Sociopath Psychopath Paranoiac Of course, those are just the most obvious examples of personas we could use in testing.

Oct 29, 2011 - 2 minute read - Evil Tester Quotes

Build your own model of software testing – "the quotes"

Have you tried to build your own definition of Software Testing? One that you can refine as you learn more stuff and the years go by? That never worked for me. I don’t appear to align myself well with definitions and classifications. Building my own models however, now that works better for me. I have started work on a new model. I want to create a simpler meta model of my testing process.

Oct 26, 2011 - 1 minute read - Selenium Simplified Blog WebDriver

How to stop firefox 'update failed' dialog messing with your WebDriver automation

There I am, figuring out how to debug my FitNesse automation from within eclipse. And up pops the Firefox ‘update failed dialog’ and interfering with my automation. A bane and a pain when using Selenium RC. But with WebDriver there are easy ways round this. Start firefox with a profile and set the “app.update.silent” firefox property to true. The update error will still happen, but at least firefox won’t try and tell your automated processes about it.