Member-only story

Advice on Self-Learning Test Automation with Selenium WebDriver

Self-Learning web test automation is possible, here are my practical tips

Zhimin Zhan

This is also included in my “How to in Selenium WebDriver” series.

Now and then, I receive requests for advice on learning test automation. The most effective way is to work with a real test automation mentor. For most, that might not be possible (unable to find one or unwilling to pay coaching fees). However, you can self-learn test automation. Here is my advice:

1. Make your mind on the test framework, not the tool

I highly recommend Selenium WebDriver + RSpec. Don’t fall into record/playback testing tools. Though they have been existing for over 20 years, history has proved they were wrong. Still, ‘new’ test automation tools in a form of record-playback come out and die every year.

Selenium WebDriver unquestionably dominates browser testing for a simple reason: Selenium WebDriver is a W3C standard. So you shall use Selenium WebDriver, period.

2. Scripting

Responses (3)

What are your thoughts?

I would recommend additional complimentary reading material such as Continuous Testing for DevOps Professionals: A Practical Guide From Industry Experts
by Mr. Eran Kinsbruner

Record and Playback tools do have a place in test automation. For beginners who don't know how to write the syntax of a structured language. And for experts who can't build the complex xPath or CSS to uniquely identify an element.
In between, yes…

I leveraged QTP/UFT for 14 years and showed a $2 million ROI on my first project. The biggest benefit was that UFT used VBScript which had a much smaller code density footprint that any other language to this day. Thus I could automate more tests in less time. QTP/UFT was far from 'No good'.