TesterHQ - The Evil Tester Blog Aggregator

Jul 4, 2013 - 3 minute read - Selenium Simplified Blog WebDriver

SlowLoadableComponent and NoSuchElementException

When using SlowLoadableComponent we have to remember that in the Java Throwable hierarchy the Error and the Exception are siblings. This means that you have to catch exceptions in SlowLoadableComponents and convert them to Errors if you want to avoid bugs in your PageObjects. Note that this is a reminder to me because I forgot and spent 20 embarrassing minutes working out why my ‘load’ method wasn’t being called. Shame on me, as penance I write this post.

Jun 15, 2013 - 1 minute read - Conferences Selenium Simplified Blog

Selenium Conference 2013 Videos Available

I couldn’t attend Selenium Conference 2013 and I was too busy to watch the event streamed live. Fortunately, all the track sessions have been made available online. http://new.livestream.com/seleniumconfA/TrackA/archives http://new.livestream.com/seleniumconfB/TrackB/archives Updated 18/6/2013: You can also watch on YouTube I’m slowly working my way through the videos now. I also trawled through the #seconf twitter feed and found: Todd Edwards, @TriangleTodd made a great set of notes in Evernote on the conference talks which he has made public.

Jun 14, 2013 - 1 minute read - Books Evil Tester

"Java For Testers" released

I’ve been working on a lot of stuff in the first 6 months of this year. Most of this hasn’t been converted into usable product form yet, and is still working through my drafting process. But the first thing has made it to the ‘public’ stage - a new book called “Java For Testers”. I’ve released this as beta, the same way I did “Selenium Simplified” when I was writing that.

Jun 14, 2013 - 1 minute read - Java Selenium Simplified Blog

New Book "Java For Testers"

Most of the Selenium WebDriver work I do uses Java. When I wrote the “Selenium Simplified” book, I was trying to teach Java, at the same time as Selenium-RC. I decided that the next time I write a book I would be more focused, so I’ve just made public the fact that I’m writing a book called “Java For Testers”. You can find more details on the book web site’s and blog:

Jun 14, 2013 - 1 minute read - IDE Java For Testers

Some Handy IntelliJ Code Completion Keyboard Short Cut Tips

Assuming you chose IntelliJ as your Java IDE, and why wouldn’t you? There are a few tips I want to pass on for helping with code completion. I assume you already know Ctrl+Space to start code completion. In the code completion pop-up you can use Ctrl+Q to see the JavaDoc help for that method. And if you get stuck with the parameters for a method then Ctrl+P can show you what options are available.

Jun 10, 2013 - 1 minute read - Java For Testers JUnit

JUnit ExpectedException Rule

JUnit has a new way of testing for Exceptions. Back in the day, we used to add the expected parameter to the @Test annotation. @Test(expected = InvalidPassword.class) But now, JUnit has a new @Rule @Rule public ExpectedException expected = ExpectedException.none(); And you configure the ExpectedException in the @Test method: expected.expect(InvalidPassword.class); expected.expectMessage("> 6 chars"); Very useful if you want finer grained control over your Exception testing. You can find out more on the JUnit github.

Jun 7, 2013 - 2 minute read - IDE Java For Testers

Which IDE should you use for Java?

There are a whole bunch of free IDEs out there that you could use with Java: IntelliJ Eclipse Netbeans And there are more, I just listed those that I have tried. You can also use Text Editors as an IDE, some of those even have code completion now. So which Java IDE should you use? Well, I use IntelliJ. I even paid for it, which is something that I never thought I’d do for a Java IDE - I do use it for pretty much all my development work: JavaScript, HTML, XML etc.

May 31, 2013 - 1 minute read - Evil Tester Exploratory Testing Technical Testing

A Bugzilla exploratory testing session from the vaults

Back in 2011, I decided to try recording an exploratory testing session. I uploaded the results privately to Youtube and essentially forgot about it. It was the first time I tried to think out loud, and record, and conduct exploratory testing, and make notes, all at the same time. Despite its rough edges, and horrible editing, I’m going to make it available. I have long lost the original recording so I can’t recreate a full unedited version, and I can’t really adjust this video too much, so I’ll let it stand as a time bound representation of where I was with the multi tasking approach to exploratory testing back in 2011.

May 16, 2013 - 1 minute read - CompendiumDev Conferences

TestNet May 2013: KeyNote and Tutorial

May 2013 I was allowed to present both a Keynote and a Tutorial at TestNet. Tutorial: The Evil Tester’s Guide to HTTP proxies Tutorial KeyNote: http://www.slideshare.net/eviltester/keynote-my-quest-for-silver-bullets I also contributed an article to the news letter, which starts on page 4. (Also listed below)