TesterHQ - The Evil Tester Blog Aggregator

Sep 8, 2014 - 2 minute read - Conferences Practices Selenium Simplified Blog

Selenium WebDriver Page Object Abstractions and Beyond

I’ve been collating my thoughts on Page Objects and Abstraction Layers, particularly the implementation of them using Java. I presented my initial thoughts at Let’s Test 2014 in a half day workshop. This could easily have been a full day workshop to allow for more experimentation with the different coding styles. I released the slides to the tutorial on slideshare. Hands on Exploration of Page Objects and Abstraction Layers with Selenium Webdriver Workshop Slides from eviltester I confess to some nervousness about releasing the information since I don’t normally release the slides to tutorials and courses in case it cuts down on the value of running the tutorial or course again.

Sep 8, 2014 - 1 minute read - CompendiumDev Conferences

Resources for conferences in early 2014 added to site

I have uploaded the conference pages to have the materials I used in presentations early in the year. You can find: The slides for Page Objects and Abstraction layers Tutorial at Let’s Test 2014 The slides for “Why you should learn skills that have no application in real life” workshop at Let’s Test 2014 Link to the video of my “Lightning Keynote” at StarEast 2014, with a write up of the talk at eviltester.

Sep 8, 2014 - 10 minute read - Conferences Evil Tester

StarEast 2014 Lightning Talk: "A Sense of Readiness"

At StarEast 2014, I presented a Lightning Talk as part of their “Lightning Strikes the Keynotes” You can watch all the keynotes here or see just mine. I make quite a lot of notes and prep for my talks before I present them, and so in this post I will walk you through some of the notes, and the process I used to get ready for the talk. And I’ll use the medium of the blog to expand on the topic a little with additional lessons learned from pulp authors, relating to test planning and preparation.

Sep 4, 2014 - 1 minute read - CompendiumDev Conferences

Events for the End of 2014

2014 will end with a round of conference talks, in between consultancy engagements. Below is the current list of upcoming events: Star West 2014 I’ll present a full day tutorial on Selenium WebDriver, and a track session on Automation Abstractions. Oredev 2014 Oredev is new conference for me. I’ll present two track sessions: “Confessions of an accidental security tester” and “Automation Abstractions - Page Objects and Beyond“ Agile Testing Days 2014 In November, I’ll be presenting a Keynote on working with testing in Agile Teams, and a tutorial on “Technical WebTesting on Agile projects”.

Sep 4, 2014 - 3 minute read - FAQ Java For Testers

FAQ: Should I use JUnit or TestNG, which is better?

Since I do receive this question via email quite a lot, I will answer it as an FAQ. “Should I use JUnit or TestNG? Which is better? You use JUnit in your training, so is that the better option?” I use JUnit in my online training courses, and in my book. I do not do this because I consider it ‘better’ than TestNG. I do it because I consider it simpler to use and understand than TestNG, and that it has better documentation online.

Sep 2, 2014 - 1 minute read - Conferences Selenium Simplified Blog

Selenium Conference 2014

The Selenium Conference “seconf 2014” starts on the 4th of September. This year, we are one of the sponsors of the conference. Although we can’t attend. For a limited time, to celebrate the Selenium Conference, check out our Selenium Conference page for special discounts on our online courses. I don’t think the conference has live streaming this year. But subscribe to the Selenium Conference YouTube channel as there are sure to be videos from the conference available during September.

Aug 14, 2014 - 3 minute read - Evil Tester Tools

How to convert VirtualBox to VMWare and install the ethernet device drivers

I couldn’t work around the recent bug in VirtualBox version 4.3.14. It conflicts with my Anti-virus software under windows. When I upgraded to version 4.3.15, I no longer experienced the anti-virus crash, but my networking was trashed and I couldn’t get it working. So I decided to try and migrate over to VMWare. I use VMWare Fusion on the Mac to run my Windows and Linux VMs, and VMWare VMs are cross platform.

Jun 19, 2014 - 1 minute read - Maven Selenium Simplified Blog

Upgrading the HTMLUnit Version for WebDriver with Maven Dependencies

Since HTMLUnit impressed me so much in my last run through of tests I wanted to see how the current version would perform. I noticed that WebDriver 2.42.2 uses version 2.14 of HTMLUnit, but the current version of HTMLUnit is 2.15. I wanted to try 2.15 and see if it made a difference. I import the full selenium-server dependency since it makes life easy for me. <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-server</artifactId> <version>2.42.2</version> </dependency> This brings in HTMLUnit 2.

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.