TesterHQ - The Evil Tester Blog Aggregator

Jan 24, 2009 - 2 minute read - Evil Tester Selenium

How I learned to love Selenium's fireEvent

“I clicked on that, why didn’t the click work!” I recently faced the challenge of using Selenium to automate a web application that stubbornly resisted my attempts to automate it - until I found the fireEvent! No need to know the name of the application in question, but the basic situation I faced involved a form with a ‘save’ button. I used Selenium to fill in the details in the form and click the save button.

Jan 22, 2009 - 2 minute read - Evil Tester Selenium

Get rid of those pesky IE dialogs with AutoIt

Over the years I have used and reused a variant of a single AutoIt script. The script basically polls windows for a dialog that matches a certain pattern and then performs some action. I most recently used this to get rid of the IE dialog that pops up using Selenium with IEHTA asking if you want the web page to close the window. So this script provides an easier way of getting rid of the dialog than sitting there clicking it (or shooting it) - after all, you automate so you don’t have to sit there.

Jan 20, 2009 - 1 minute read - Evil Tester Tools

Locky - the file locking test tool

When I test applications that read files I like to test how they handle locked files. And yes, I once had a situation where I needed to lock lots of files, and then lock some more and then lock even more. So I wrote Locky to help me. [Download] I obviously had a lot of time on my hands as I made it fairly generic. I honestly don’t know how long ago I wrote this.

Jan 16, 2009 - 2 minute read - Evil Tester Techniques

Notes on the evolution of my exploratory testing documentation style

Looking back at ETA I can see that my current approach to documenting exploratory testing has changed since I last worked on ETA. Back then I remember my style as: what did I just do? what did I just observe? scribbled thoughts on paper I kind of scribbled future thoughts on bits of paper off to the side as they occurred to me. Since various people have derogatively described my handwriting as “a scrawl”, “unreadable” and “teeny tiny random lines” on a page.

Jan 15, 2009 - 2 minute read - Evil Tester Tools

Exploratory Test Assistant - a tool for recording your exploratorytesting notes

A long time ago I started writing a tool to help me with my exploratory testing [on GitHub]. I wanted a tool that would sit out of the way unnoticed until I needed it (at the call of a hot key), then I could type in a little note, save it and forget about it. And in the background the tool would go away and format the notes as I wanted them so at the end of a testing session I would have a report.

Jan 6, 2009 - 1 minute read - Evil Tester Tools

Re-released Microsoft Compatibility Testing Virtual PC Images

The Microsoft compatibility Virtual PC images have had a re-release.  These time out on April 2009 (even when they time out you still get a grace 1 hour usage as I found out this morning). Windows XP SP3 with IE6 Windows XP SP2 with IE7 Windows XP SP3 with IE8 Beta 2 Vista Image with IE7 At no cost, these act as a great way to get multiple versions of IE on your machine for compatibility testing purposes.

Jan 5, 2009 - 3 minute read - Evil Tester Rants

How not to behave as a test contractor

Sometime back, Linda Wilkinson had a good post on Test Contractor behaviour I shall add a few more ‘things not to do’ to the list based on some recent (and slightly less recent) experiences with contract testing staff. A few things to bear in mind before we start. When you contract as a tester you represent a company - typically your company. The company has contractually engaged to provide testing services to another company.

Dec 19, 2008 - 3 minute read - Evil Tester Tools

How to run Selenium-RC in a virtual machine

A tale of VMWare vs VirtualPC One issue that I have with selenium and running tests through IE is the little popup dialog saying “The web page you are viewing is trying to close the window. do you want to close this window?” Our tests use openWindow and then close them frequently. I wrote a little AutoIt script to sit in the background and poll for that dialog and close it when it appears.

Dec 17, 2008 - 7 minute read - Evil Tester Tools

Selenium and HTMLUnit - the abstraction layer

I once did an experiment to see how easy I could wrap HTMLUnit with Selenium for automated software testing. In my experiment I created a wrapper by extending the DefaultSelenium class and then using eclipse to create wrapper functions for all the methods. Then inject that HTMLUnitSelenium class into my abstraction layer and voila - your Selenium tests run with HTMLUnit (*cough* well, in theory). Then I recently discovered that someone else had done the same thing.

Oct 13, 2008 - 5 minute read - Book Reviews CompendiumDev

Book Review: Next Generation Java Testing by Cedric Beust and HaniSuleiman

Subtitled “TestNG and Advanced Concepts” and written by the people behind TestNG, I picked up this book expecting to read a definitive and encyclopedic work on TestNG. However, the authors decry this view in the preface. This book takes ‘testing’ as its focus and uses TestNG to illustrate the examples. (Although it does really start off as  “a book about TestNG”). So prior to reading the book my experience of TestNG amounted to the following: