Software Testing

On skills and roles in software development – automation

Posted on

A recent blog post from Alan Page prompted an interesting subsequent twitter conversation In Alan’s blog, he writes: Automation works wonderfully for short confirmatory or validation tests. Unit, functional, acceptance, integration tests, and all other “short” tests lend themselves very well to automation. But I think it’s wasteful and inefficient to have testers write this […]

Everything

Retrofitting Cucumber to an existing codebase

Posted on

The new job (well, not so new now, but in any case my latest job) uses quite a bit of tech I’d not dug into previously. As far as source control goes, I’m used to centralised SC like SVN (or even CVS in a pinch), so getting my head around a distributed model (Git) took […]

Software Testing

Data driven Selenium in JUnit via @Parameters

Posted on

I played around a bit with iteration using JUnit today. I have some generic tests that behave differently depending on the values fed to them. I don’t want to have iteration code living alongside each test (maintenance nightmare), so I wanted to use JUnit’s @Parameters tag to pull in my test data via a Preferences […]

Software Testing

My Selenium setup so far

Posted on

I’m having a lot of fun with this Selenium gig (shh, don’t tell anyone). There have been a few yaks shaved and I’ve seen the inside of some rabbit holes, but there seems to be a lot of good material online to guide you. At this point, I’m running my tests directly from eclipse, though […]

Everything

Adventures in GUI Automation – Basic Hierarchy

Posted on

On the suspicion that my last post amounted to a bunch of word salad for a few, let me see if I can add some clarity by describing the basic hierarchy I’m using for my framework. At the top level, I have a suite control script that looks like this: doSetup   ‘Calls to set up […]

Everything

Adventures in GUI Automation – getting my bearings

Posted on

So I mentioned some of the inherent issues that I dislike about QTP 10. One of those appears to be that reusable actions intermittently fail. An action in QTP is a tool-defined item that collects a number of GUI manipulations (or function calls) into a named action. It sounds handy. It probably would be if […]

Everything

Adventures in GUI automation

Posted on

So I’ve been hacking away at QTP for the last couple of weeks (no, I didn’t make the decision to purchase it, yes I have to use it as the political consequences of not doing so are more painful). I’m not a massive fan of QTP, mostly because I think that it’s really bloody cheeky […]