TesterHQ - The Evil Tester Blog Aggregator

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:

Sep 28, 2008 - 5 minute read - Book Reviews CompendiumDev

Book Review: Apache JMeter by Emily H. Halili

This book only has 120 or so pages and has the purpose of introducing the reader to JMeter. I haven’t found the online documentation for JMeter an easy read - mainly because I could not find a nice easy to print or flip through pdf version. The online document serves a reference rather than a hand holding purpose. Hence the need for this book. amazon.co.uk | amazon.com Sadly the first chapter does nothing to help the book - at only 7 pages it doesn’t take up much space - but… The chapter covers - why to automate testing, how much to do, how to justify the cost - all the standard automation justification stuff - but given that this book does not have the title “Automated Testing with JMeter” I assume that if you pick up this book then you probably already know the stuff in this chapter.

Jul 25, 2008 - 3 minute read - Entertainment Evil Tester

Noob lessons for Software Testing

Raising Defects can challenge even the best of testers, as the tester at ClicheQuest Offices found out to his peril. Lessons this cartoon has to teach us about raising, or not raising, defects - ed: ‘so we should say “lowering” then?’ (sorry, I couldn’t resist): “All we want are the facts ma’am” as Joe Friday would prompt. Don’t tell people what to do. Work sensible hours Get your own back

Jul 24, 2008 - 1 minute read - Books Evil Tester

Some Software Testing PDFs To Learn From

A short list of Software Testing PDFs to enjoy and learn from. The CAST 2008 proceedings OWASP WebGoat and WebScarab - teach yourself some penetration testing The FitNesse Fixture Gallery Getting fit with .Net Performance Testing Guidance for Web Applications

Jul 23, 2008 - 4 minute read - Books Evil Tester

Software Testing, A Funny Business

Steve Martin’s Autobiography starts with the following phrase: “I did stand-up comedy for eighteen years. Ten of those years were spent learning, four years were spent refining, and four were spent in wild success… enjoyment when performing was rare - enjoyment would have been an indulgent loss of focus that comedy cannot afford. After the shows, however, I experienced long hours of elation or misery depending on how the show went…”

Jun 18, 2008 - 2 minute read - Agile CompendiumDev

Clicking the buttons in QUnit functional testing with JQuery

I avoided using JQuery in my test pack for as long as I could, to try and learn a little about JavaScript the hard way. But I just could not get my button clicking test working cross browser. But clever JavaScript ninjas invented libraries like JQuery to help with exactly that type of problem so… I wrote the previous posts in this series over on EvilTester: Test Driven JavaScript using QUnit Test Driven JavaScript Code Coverage using JSCoverage Functional testing JavaScript with QUnit - initial steps In this post I shall use JQuery to ‘click’ on a button.

Jun 17, 2008 - 5 minute read - Agile Evil Tester

Functional testing JavaScript with QUnit - initial steps

With the JavaScript I have written - I describe the tests which exercise the functions in the .js file and manipulate the variables in the .js file as Unit tests. Then when I test functions which interact with the html page that I import the .js file into - I class that as Functional testing. In this exciting episode of “Adventures in JavaScript” I describe my initial attempts at Functional testing with QUnit.