TesterHQ - The Evil Tester Blog Aggregator

Jun 3, 2011 - 2 minute read - Selenium Simplified Blog WebDriver

Selenium 2.0rc2 - Hey, where's my unashamedly ugly wait

Warning, this blog post contains Java code. Some testers may want to look away now. I was quite happy using the unashamedly ugly Selenium Wait class, for adhoc waits that I did not want to refactor into proper classes. e.g.         new Wait(“JS Page title did not change”){             @Override             public boolean until() {                 try{                     return driver.getTitle().startsWith(TITLE_OF_PAGE_STARTS_WITH_THIS);                 }catch(Exception e){                     // ignore not found exception

Jun 2, 2011 - 6 minute read - Evil Tester Selenium

How can I learn to automate my testing using Selenium?

In this blog post, I’m going to lay out the Evil Tester free and simple 8 step guide to learning how to automate a Web Browser using Selenium. I’ll reveal the sources of information you can use. And yes, I will promote my book. music by Drongomala @ flyingmountainrecords.com I see the same questions, and variations on these questions, asked on social network forums every few days. “How can I learn Selenium?

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

Use Real Words to Communicate, Not Testing Phrases

I think people use ‘standard’ testing phrases too much. e.g. System Testing Testing Performance Testing Functional Testing Non-functional Testing Black box testing Unit Testing etc. etc. The user of each phrase holding the assumption that the reader/listener of each phrase understands the phrase the same way as the user. They don’t, they have their own models that underpin that phrase. Try using real words. One recent example from the world in which I inhabit:

May 24, 2011 - 3 minute read - Selenium Simplified Blog WebDriver

When automating, do you wait before or after the event?

As I worked on the code for my “migrating to selenium 2.0” workshop at Tony Bruce’s Skills Matter event recently. One of my automation challenges involved waiting for an element to have clickability. It existed in the DOM, visible, and all other rendered event style isCondition()s. But when clicked on, it could not respond to events. For a reason of bias, I spent far too many minutes banging my head against the automation wall.

Apr 21, 2011 - 1 minute read - Evil Tester Tools

Tutorial on Burp Suite Repeater and Intruder

This tutorial on Burp Suite covers the Repeater and Intruder functionality. Repeater allows you to play back a message to the server and amend it before it goes out. Intruder allows you to play back messages, with various elements of the message varying with each playback e.g. a different set of parameters In the tutorial video I explain how I use each function in my testing. Other proxy tools do similar things.

Apr 19, 2011 - 2 minute read - Evil Tester Tools

No Excuses – Learn Burp Suite to aid your web testing

In March 2011 I gave a talk at the London Sigist on technical testing. I’ll make the slides for that available (…sometime soon). I didn’t want to give a ‘blaggers guide’ to technical testing. So I presented an overview of some of the thought processes and models I use. At the end of the talk I provided a list of tools that I use. I use Burp Suite as one of my proxy servers.

Mar 30, 2011 - 1 minute read - Cartoons Evil Tester

Software Testing Club – Testing Tales released

A while back, Rob Lambert started collecting Nursery Rhymes for the Software Testing Club. Since I enjoy Humpty Dumpty I created a version for STC. It has just become available on the Software Testing Club website, along with Rob’s entertaining take on The Gingerbread Man. They have posted the uncensored version of Humpty so those of a weak disposition take heed of this warning before visiting said site.

Mar 27, 2011 - 1 minute read - Cartoons Evil Tester

The Untold Story of the Test Plan

We all know by now the following things about test plan documents: a test plan document does not substitute for the process of test planning, a test plan document represents one way of communicating the results of the test planning process, the process of test planning stops only when you stop testing (even then, you might obsess so much that you carry on planning) I didn’t always know those things.

Mar 23, 2011 - 2 minute read - Evil Tester Selenium

Selenium 2 makes automation debugging easier

One of the parts of Selenium 1.0 that I never enjoyed was debugging automation that didn’t work. I had to faff about creating custom Firefox profiles with Firebug installed and set to go through a proxy. Selenium 2 makes all of that so much easier. With the code below, my test runs through a proxy server on port 8081 and has Firebug installed so that I can breakpoint my test and then go debugging around in the browser DOM, debug the JavaScript to make sure events get fired, etc.

Mar 14, 2011 - 2 minute read - Evil Tester Techniques

Paranoia as a learning and testing strategy

Honestly who doesn’t enjoy reading conspiracy theories? Who doesn’t enjoy putting on the “Helm of Paranoia”. I use paranoia as a learning strategy and as a testing strategy. You can too… For learning: Assume that the author of the book lied to you This forces you to do more research Read additional books Read differing opinions Check their facts Assume the author didn’t want you to know the truth They deliberately obfuscated their writing so you have to simplify them They deliberately made it overly specific so you would not learn the different ways to apply the technique, so you have to generalise it They deliberately didn’t teach you the principles, so that they would retain the edge and you could never compete.