TesterHQ - The Evil Tester Blog Aggregator

Apr 21, 2016 - 1 minute read - examples Java For Testers

Source Code for House Of Test Java Technical Testing Case Study Videos Released

I have released the source code github.com/eviltester/houseOfTestDataGenCaseStudy for my Java Technical Testing Video Case Study There isn’t too much to the source code. A single @Test method in an Test .java file. The pom.xml was really just to create a basic project in IntelliJ to use the inbuilt IntelliJ decompiler. The source code is the code used to ‘test’ the random generation. This won’t work unless you add the data generation tool as a dependent jar as described in the case study videos.

Apr 14, 2016 - 5 minute read - examples Java For Testers

An example of creating a 'tool' using @Test methods without building a Java application

I previously mentioned that “Java For Testers” teaches Java without writing main methods, and in fact uses @Test annotated methods for all of its code. I write tools like that, certainly for short lived tools that I might otherwise have to use a scripting language, or MVPs to try things out. It is only after I have the basic MVP code, and then demonstrate the re-use value of the code (i.

Apr 12, 2016 - 2 minute read - CompendiumDev Conferences

Tabara de Testare Feb 2016 live stream slides now available

On 3rd February I presented a live stream “Lessons Learned When Automating” to Tabara de Testare. I have now uploaded the slides on the conference talk page for Tabara de Testare 2016 The slides are readable for offline study. The blurb is pasted below to whet your appetite for more: I’ve been asked some very challenging questions about lessons learned, and how decisions are made during the process of automating and performing technical testing.

Apr 8, 2016 - 1 minute read - Evil Tester Productivity

How to Watch Repositories on Github via a NewsFeed

TLDR; subscribe to master commits on github with /commits/master.atom There exist a lot of ‘lists’ and ‘notes’ on github, not just source code. e.g. List of ‘Awesome’ SecurityTalks List of ‘Awesome’ Lists Awesome Penetration Testing List CSS Refresher Notes List of public APIs Big list of naughty strings I would like to be able to be notified when these lists change. There are official ways of watching repositories on github:

Apr 6, 2016 - 3 minute read - Evil Tester Productivity

Behind the Scenes: Tools and workflow for blogging on blogger and writing for other reasons

TLDR; Write offline. Copy/Paste to online. This blog is powered by blogger. I still haven’t spent a lot of time creating a template that formats it nicely. Partly because I tend to read all my blog feeds through newsblur.com so I really don’t know what anyone’s blog looks like. I have ‘fix blogger formatting’ on my todo list, but it never seems to rise to the top. I don’t particularly like the way that blogger uses html for posts: it avoids paragraphs and uses span, div and br.

Mar 31, 2016 - 3 minute read - Evil Tester Technical Testing

Everyday Browsing to improve your web testing skills - Why?

Who doesn’t like looking at the innards of a web page and fiddling with it? Inspect Element Find the src attribute of an image on a page Edit it to the url of another, different image You could, as my son enjoys doing; visit your school website, and replace images of people with blog fish and much hilarity doth ensue. In my Sigist slides you’ll find some ‘tips’ for improving your web technical skills which cover this type of skill.

Mar 24, 2016 - 2 minute read - Practices Selenium Simplified Blog WebDriver

Coding for workarounds so you know when they are fixed

With most libraries you use to automate your work, you have to code workarounds. I coded a workaround in my Selenium WebDriver tests because there was a bug in ChromeDriver which meant that cookies were created differently than other browsers. When I upgraded to WebDriver 2.53.0 and ChromeDriver 2.21 I discovered I didn’t need my workaround anymore. In the code I had one set of code for Chrome, and another set for other browsers:

Mar 22, 2016 - 3 minute read - Java For Testers Maven

What is a Java `main` method - simple example

One of the topics I don’t cover in “Java For Testers” is the main method. I explain why my coding style ‘as a tester’ doesn’t really require main methods in this blog post. And in this blog post I’m going to start to explain the main method. Why? To round off our Java education a little so that if you do want to start writing small applications or package your well written Java library code into an app, then you know how to go about doing it.

Mar 21, 2016 - 3 minute read - Dear Evil Tester Evil Tester

Behind the Scenes - "Dear Evil Tester" lessons in risk based release management

On Wednesday the 16th a paperback copy of “Dear Evil Tester” arrived through the post. This was my “final” proof copy. Was it ready for release? In this episode we learn that the “Go Live” release decision is always a business risk decision. Errors found in the staging environment Upon reading it, I found two tiny errors. Did I delay publishing? Heck no. I’m Agile. I’m lean (with a thin layer of fat for winter).

Mar 21, 2016 - 2 minute read - Selenium Simplified Blog Training Courses WebDriver

Upgrade to Selenium WebDriver 2.53.0 and ChromeDriver 2.21

Selenium WebDriver 2.53.0 is available Upgrade to Selenium WebDriver 2.53.0 I’ve just updated my online Selenium 2 WebDriver with Java course to use version 2.53.0 of Selenium WebDriver. Change Log I mainly update due to browser changes but this update required a code fix. Selenium WebDriver 2.53.0 Minor code fix in the pom.xml to add a dependency on the new Htmlunit driver project. github.com/SeleniumHQ/htmlunit-driver The package structure in the htmlunit driver was left the same so all I had to amend was the pom file