TesterHQ - The Evil Tester Blog Aggregator

Jul 23, 2013 - 5 minute read - Evil Tester Rants Technical Testing Techniques

Don't go live with simple security problems - 10 tips to help

I feel anger when I stumble across very, very, very simple security issues. Especially when they compromise my data. Yes I do. And I hope, as a tester, that you do too. But I face a problem… As a tester, I can’t say “Did no-one test this!” because I know that they might have done, and someone else might have chosen to go live anyway. But on the off chance that no-one did ‘test this’, I offer you this post.

Jul 18, 2013 - 3 minute read - Courses FAQ Java Selenium Simplified Blog WebDriver

What do Eclipse, JUnit, Maven, Ant, etc. do?

I periodically receive FAQ style questions. But I haven’t created an FAQ page… yet. Recently there have been an influx of people on the free “Start Using Selenium WebDriver With Java” course, and they are a little confused by the amount of software they install. Now the course does explain a little about what the software does when using them but the course hasn’t provided an overview… until now. The text summary follows below the video:

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.