TesterHQ - The Evil Tester Blog Aggregator

Sep 25, 2013 - 3 minute read - Evil Tester Tools

Alternative Uses for Fiddler

A few days ago I realised that one of my use cases for Fiddler, did not stem from a need for debug proxying. Since I work on a variety of client sites, I periodically have issues with restrictive proxy servers where a .pac file somewhere sets up the browser config, and you have username and password issues etc. etc. In those circumstances some tools need configuring to use the client site proxy - I recently tried to use httpgraph based on a suggestion from James Lyndsay.

Sep 20, 2013 - 1 minute read - IntelliJ Java For Testers

FAQ: Why do I only see test that fail in IntelliJ and not the tests that pass?

When you run your tests in IntelliJ you may have seen an output where only the failing tests are shown in the run pane tree. In the above run I have 302 passing tests, but only 1 failed. Where are my failing tests? All IDEs offer a massive amount of power and functionality sqeezed into a tiny GUI. So your going to miss things. And one thing people miss, and I’ve missed it too, is the “Hide Passed” icon.

Sep 19, 2013 - 1 minute read - Java For Testers Maven

Maven settings.xml - global and user-specific

Sometimes you have to amend the Maven settings.xml file to add a proxy or various repositories. I had to do that a couple of days ago when experimenting with a 3rd party library. What I sometimes forget, is that there are two settings.xml files. Now I shouldn’t forget this, because it is quite clear on the Maven Apache site. http://maven.apache.org/settings.html But I do. The settings.xml file in %M2_HOME%/conf/settings.

Sep 18, 2013 - 1 minute read - IntelliJ Java For Testers Maven

Do "Enable Auto-Import" in IntelliJ for "Maven projects need to be imported"

If you see the “Maven projects need to be imported” popup in IntelliJ, then do click “Enable Auto-Import”. You very often see this when you first create new projects and it is easy to miss. But many of my “Why isn’t it finding this class” and “Why didn’t it import that” queries, are because I haven’t noticed the popup sitting patiently in the top right, waiting for me to respond.

Sep 17, 2013 - 2 minute read - Dates and Times Java For Testers

Chapter on Date and Time added to Java For Testers

I just added a chapter on Date and Time to the “Java For Testers” book. In the production environment in the main application, we very often use the Joda-Time library. But I’m trying to keep coverage of ‘libraries’ out of scope for this book, to make it easier for people to get started, and so that they build knowledge and experience with the inbuilt features. Relying too much on external libraries often means adding another library into the code-base when all that is really required is a quick wrapper around existing core Java.

Sep 13, 2013 - 1 minute read - Getting Started Java For Testers

Support Page for Install Chapter on JDK, Maven and IntelliJ

I have left the install chapter in “Java For Testers” to the end, since the installation is pretty simple and really involves working through the official install processes. But, sometimes things will go wrong. So I have created an install support page on this site. It links to the official documentation, and has some ‘example’ install videos, with links to other troubleshooting guides. If you experience any issues installing the tools for “Java For Testers” book then let me know.

Sep 11, 2013 - 2 minute read - Evil Tester Technical Testing

How to Turn on and off JavaScript in Firefox

Whoa, I turn my back for a couple of months and Mozilla remove the option to switch off JavaScript in Firefox. Short version: Install QuickJava or type “about:config” as the URL then search for “javascript.enabled” We spent a good 5 or 10 minutes thinking we were crazy. “I’m sure the option used to live here…” As ever, Google came to the rescue.. Why did Mozilla do this? Because of “Checkboxes that kill your product”.

Sep 6, 2013 - 5 minute read - Evil Tester Exploratory Testing

10 Experiments to Improve Your Exploratory Testing Note Taking

I have some ‘rules’ that I apply when I take notes as I perform exploratory testing. When I look back over how I took notes in the past I can see that I tried different experiments with my approach when building those ‘rules’. I recommend some of my experiments to you now: In Memory Only use pen and paper Only use a text editor Use a text editor and screenshot tool Record the screen and talk as you test Use a tool designed for exploratory testing Use a Mind Map Draw a diagram Automate the capture of logs Use a Spreadsheet 1 - In Memory Only use your memory to track your exploratory testing.

Aug 30, 2013 - 2 minute read - Selenium Simplified Blog WebDriver

Alternative Uses for GhostDriver and Headless Browser testing

I’ve been using GhostDriver¬†recently. I could never get along with HTTPUnit driver, it so rarely worked for me. But GhostDriver has been magnificent. Whenever I want to do any headless browser testing I use GhostDriver. I blogged about my use of GhostDriver to test www to mobile site redirection, over on eviltester.com. I’ve also been using it as part of a “Tester’s Link Checker” I’ve been experimenting with. I use it because it is easy to add to my project.

Aug 30, 2013 - 1 minute read - FAQ Firefox Java Selenium Simplified Blog WebDriver

FAQ: Why has my Firefox Selenium WebDriver Browser Not Closed

A few FAQs come up on the Start Selenium Simplified course. When they do, it usually means that I haven’t done a good enough job of making the answer visible the first time I address it. One that crops up a lot is “Why is my browser not closing?” Because WebDriver has two methods: ¬†.close .quit The documentation for .close says that it will close the browser if it is the last window that is closed.