TesterHQ - The Evil Tester Blog Aggregator

Jul 26, 2011 - 1 minute read - Selenium Simplified Selenium Simplified Blog Selenium-RC

Selenium Simplified Book Source code updated for Selenium 2

I have updated sourcecode for the book to work fully with Selenium 2.1.0 You can download it from here: Source code (InitialSeleniumTests_JUNIT_2ndEdition.zip) Refactored Source code (finalChapterSource_2ndEdition.zip) Yes, the ‘2ndEdition’ on the back of the filename does mean that I am working on an updated version to update it for Selenium 2. Current e-book purchasers can already download a beta of the 2nd edition while I finish updating it, from their re-download page.

Jul 14, 2011 - 2 minute read - Links Selenium Simplified Blog

Recommendations for Learning JavaScript and CSS Selectors

I’ve been programming more JavaScript recently. This helps my testing in a number of ways: When testing web sites I can understand the client side code I can nudge the client side into different states by executing ad-hoc JavaScript through the console The DOM web developer displays make ever more sense It also helps my automation; My ability to use the JavaScript calls has improved so I don’t have as much trouble with web sites that don’t play nice My CSS selector skills have improved Clearly for most Selenium automation purposes, we don’t need a large grasp of JavaScript, we mainly do quick DOM access scripts, the kind of thing you would do through the console for debugging.

Jun 28, 2011 - 6 minute read - Evil Tester Techniques

How Can I Estimate My Testing?

Have you had anyone ask you a question about estimation? I get asked these types of questions and I suspect that the person really wants answers about how to communicate and justify their guesses. I think they hope that some process exists which will accurately and objectively give them a set of numbers. And by using these numbers they can disavow responsibility for the production of them. And no-one will hold them responsible if the objectively produced ‘estimate’ does not meet reality.

Jun 16, 2011 - 1 minute read - Selenium Simplified Selenium Simplified Blog

Welcome to SeleniumSimplified.com

Selenium Simplified is a book about learning to use the Selenium 1.0 API using Java Available on Amazon: amazon.com amazon.co.uk For more details on the book, visit the publishers page, where you can: Buy the e-book Read a free preview View the Table of Contents Learn More Selenium Simplified can be used with Selenium 2 as this blog post describes.

Jun 14, 2011 - 6 minute read - Migrating to WebDriver Selenium Simplified Selenium Simplified Blog Selenium-RC WebDriver

Can I use Selenium Simplified with Selenium 2?

Note: This post was originally written for Selenium 2.0rc2 I have updated it for Selenium 2.0.0 and IDE 1.0.12. And now with supporting video: link to video Tutorial video on Selenium 2 with Selenium Simplified Book Selenium has changed since I wrote Selenium Simplified. Selenium Simplified targets the Selenium 1.0 API. This has not changed in Selenium 2.0 Selenium 2.0 bundles together the Selenium 1.0 server and API and the WebDriver code base.

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.