Technical information on this site may be out of date : no updates since 2015

Selenium UI-Elements Rollups

June 2, 2011 , posted under testing selenium dry

I wasn’t 100% clear from the docs how to implement rollup rules in selenium ui-elements and searching the web didn’t return much - so here’s an example in case it’s helpful to others.

Add this to the user-extensions.js file

Read More…

Selenium UI-Elements

May 19, 2011 , posted under drupal testing selenium

While playing around with selenium IDE I discovered a fantatsic tool that makes test (and results) more readable while making the suite of tests easier to adapt to layout changes.

What it does is to allow you to centrally define most of the xpath (and related) statements and give page elements meaningful names.

Read More…

SeleniumRC and self signed SSL certs

May 13, 2011 , posted under selenium

One of the nice things about selenium tests is that you get a clean browser session each time (so no problems with cookies etc left over from earlier)

But the way this is achieved is by using a new profile each time and this profile doesn’t know about your SSL exceptions for avoiding error messages with those self-signed certs on the dev server.

This causes access to SSL via selenium to fail.

Read More…

Integrating Selenium and Hudson

May 12, 2011 , posted under php drupal testing agile selenium phpunit simpletest hudson

Hudson http://hudson-ci.org/ is a continuous integration server - it runs and monitors ‘jobs’ in a way that is useful to regularly build software and report on any errors.

Selenium http://seleniumhq.org/ is a suite of tools specifically for testing web applications - it tests the full website by automating the running of one or more browsers (so you can test all that pointy clicky ajaxy stuff)

Read More…

Debugging SOAP with Xdebug and Eclipse

October 14, 2010 , posted under php eclipse xdebug soap

It’s been a while since I’ve worked on a project which is providing as well as consuming web services.

In this case I need to debug incoming requests that are not initiated from with the browser (I’m using soapui as a test tool).

In order to allow Eclipse to pick up xdebug responses triggered by requests from soapui I just needed to

Read More…

"Backport small changes to stable releases"

October 9, 2010 , posted under drupal drupal planet collaboration

I’ve found the recent thread on distribution support very interesting.

An I’m especially excited by the prospects hinted at here

#42 webchick - October 7, 2010 - 21:40

For those who haven’t read it, http://buytaert.net/8-steps-for-drupal-8 is worth a read. In it, step 6 is “Backport small changes to stable releases”. Drupal 7 is the first release we’ve been able to entertain the idea, since we have a testing framework with 25K tests and a version-specific dependency system. What the boundaries are of such changes isn’t quite defined yet, because Dries and I have kept pretty busy with, you know, getting Drupal 7 out the door. :P~

Read More…