TesterHQ - The Evil Tester Blog Aggregator

Jun 17, 2014 - 2 minute read - Selenium Simplified Blog WebDriver

Selenium WebDriver getAttribute nuance

I used to have an exercise on my course with the aim of recreating the ‘getTitle’ command using different mechanisms. It was a fun exercise, you can try┬áit for yourself. I’ll wait while you do it… *Spoilers* When I first created the exercise, it was pretty easy since you could just grab the title element and do a getText on it. But… in later versions of WebDriver, getText stopped working on title and I dropped the exercise.

Jun 17, 2014 - 1 minute read - Java For Testers Mac Maven

Getting mvn setup to persist on a Mac

I installed Java and Maven on my mac. The default Java install for mac worked fine and setup my JAVA_HOME etc., all fine. I installed Maven and followed the instructions on my mac. (http://maven.apache.org/download.cgi) Again fine… Until I restarted my mac or created a new terminal. Then I found the additional secret instructions, which I’d forgotten because I’ve been away from Unix for so long. I needed to edit the bash profile.

Jun 17, 2014 - 3 minute read - Selenium Simplified Blog WebDriver

A quick WebDriver 2.42.2 retrospective

I spent a fair few hours working through all the tests and examples on my Selenium WebDriver Course to check compatibility with WebDriver 2.42.2 and the most recent browsers. I used… Chrome Version 35.0.1916.153 m IE Version 11.0.9600.17126 Firefox version 30.0 HTMLUnit 2.14 (included with WebDriver 2.42.2) Let’s get opera out of the way quickly - since operadriver only supports Opera up to version 12.16, and the current version is 22 - I didn’t run the tests against this.

Jun 17, 2014 - 3 minute read - Selenium Simplified Blog WebDriver

An Odd Approach for Browser Specific Tests for WebDriver

I think I’m allowed to call the approach I document in this post as ‘odd’, because it is an approach I use, and I won’t be offending anyone. Very often we want tests that only run on specific browsers. The obvious way to do this is have some sort of ‘tagging’ facility for tests and suite creation, or manually exclude certain test methods or classes from suites. An ‘odd’ way, which I have used as part of my course, but not in production, is the following:

Jun 13, 2014 - 2 minute read - About the book Java For Testers

Source code for Java For Testers Book Available on GitHub

I knocked off one thing on my todo list: [x] release source code for Java For Testers book You can find it over on github: github.com/eviltester/javaForTestersCode It will still change The source code is likely to change in a number of ways: package restructuring I haven’t decided if the current package structure supports the book reader or not code will be removed Some of the code classes are not relevant to the book.

May 1, 2014 - 2 minute read - Selenium Simplified Blog WebDriver

Schadenfreude Lessons Learned from Training Course Upgrades

On a recent training session, I was describing to the participants, why we need to keep our environments stable, and not just auto update everything. We need to keep our browser versions from auto-updating, and we need to treat each new release of WebDriver as a mini upgrade project. Because: Sometimes there are bugs in WebDriver. But sometimes WebDriver changes expose bugs in our use of WebDriver, or our assumptions in our use of WebDriver.

Apr 25, 2014 - 2 minute read - CompendiumDev Conferences

More Speaking Engagements in 2014 - April, May, November

I thought 2014 was going to be a nice quiet year where I could focus on more online course building and writing. Instead I’m speaking at more conferences and onsite at ever more companies. Below is the current list of upcoming events: Test Management Summit 2014 In April, I’ll be presenting a half day tutorial on WebDriver and leading a discussion session on Automation Abstractions. StarEast 2014 In May, Where I will be presenting my “One Day Hands On with WebDriver and Java” Tutorial and a Lightning Keynote Let’s Test 2014 In May, Where I will be presenting a hands on tutorial on Automation Abstractions, and a workshop on skill acquisition.

Mar 14, 2014 - 1 minute read - Selenium Simplified Blog Training Courses

Learn Selenium WebDriver Online On Our New Training Platform

All discounts mentioned in this post have now ended. Over the last few days we have been busy uploading the Selenium 2 WebDriver with Java course to a new platform. The new platform is clean, simple and, probably most important for you - cheaper for us. So we can pass on the cost savings to you. The course is the same as we host on other training platforms, and we will keep all versions of the course in step with each other.