Wednesday, 30 June 2010

What if Selenium's Highlight Command was always on?

A reader asked for recommendations on how to use Selenium's "Highlight" command. Now I personally don't use the highlight function. Never really have. When I debug my tests, I step through the script in Eclipse (I write all my tests in Selenium-RC using Java).
But, by using reflection to automatically generate code for a java class we can run the highlight command prior to executing other Selenium commands, without amending our existing tests. And answer the question, "what if Selenium's Highlight Command was always on?"

Wednesday, 26 May 2010

A Selenium CaptureNetworkTraffic Example in Java

When I learned about Selenium’s ability to capture network traffic I was really excited. This opened up a whole new world of testing possibilities. I could capture the Ajax requests made to the server and check them for validity. When I visit pages I can check the web analytics messages sent back and check their correctness. So this post explains a little about how to use CaptureNetworkTraffic.

Friday, 19 March 2010

A poor man’s testing Head Up Display

James Whittaker has talked and blogged about Testing HUDs. In this post I will show you how to build a simple HUD for testing web applications. And In true Blue Peter stylee you can find all the things you need, for free, a few clicks away on the internet (Samurize, Fiddler).
A HUD (Heads Up Display) allows us to ‘see at a glance’ important real time information that we might not otherwise have access to. And allows us to increase our perception of ‘reality’. We will build one that gives us a little more insight into web sites we test.

Saturday, 13 March 2010

A simple getCSSCount for use with Selenium-RC

We know that XPath runs slowly in IE, but XPath has the getXPathCount method. And CSS runs quickly but Selenium doesn’t have a corresponding getCSSCount method.
I looked around for a simple way of getting count from a CSS selector.
I found this blog post by Aditya Ivaturi, but since I like to keep my Selenium setup and tests pretty simple, I wanted a much lower maintenance way of implementing the getCSSCount functionality.

Thursday, 11 March 2010

Use Firefinder to help you construct Selenium CSS selectors

Looking through the archive of blog posts, I can see that I mentioned various tools for Xpath construction, but none for CSS selectors in Selenium. Let’s change that now… Firefinder helps you test your css selectors and XPath statements before committing them to Selenium code.

Monday, 8 March 2010

Another XPath tool to help out with your automated testing

I use XPather to help me write my automated tests, and other people seem to like XPath Checker. But today I needed something a little harder hitting and something which didn’t sit in the browser to help me write some batch processing xml tests. I found SketchPath, a fantastic free .net written tool.

Thursday, 4 March 2010

Selenium as a performance and load test tool with BrowserMob

I recently had the good fortune at work to have tested an Amazon cloud hosted application. And this led to the test team having to investigate alternative performance test tools. We settled on BrowserMob and we have loved it.

I wish BrowserMob had an affiliate program, then I might get some cash if I send you off to their site. But they don’t, and I’m only writing this because I think they have a great tool and want to draw your attention to it.

Wednesday, 3 March 2010

Hey You. Are you a tester? – the movie

You know the annoying situation when you walk down the street minding your own business when suddenly someone stops you and says “Hey You. Are you a tester?” Well, in this informative public service broadcast I present the verbal and non-verbal techniques you need to know, to cope.

Hey You. Are you a tester?
by: eviltester

Sunday, 28 February 2010

Hints and Tips for self-publishing testers

On this, barely my third day of self-publishing an electronic ebook. I somehow feel qualified to pass on a few tips to anyone thinking of going down that road.
I quickly learned that I should not use to build a wee self-contained community, where you can keep your beta customers up to date with future releases, because doesn’t tell you anything about the people that bought your book (or if it does, I could not find the option).

Saturday, 27 February 2010

Automated Web Testing in Evil Tester Land

It seems about time to re-enter the cartoon world of Evil Tester.
And obviously, if Evil Tester did do automated web testing, he wouldn’t use something as prosaic as Selenium or Watir, he’d want some ‘proper’ automata.