logo
Sep
19

In-Browser functional testing with Selenium

I’ve been wanting to get into functional testing for a while, but have just never worked up the enthusiasm for the whole "writing clicks as code" deal that you get with the current crop of http-based junit-like test frameworks. But the other day a workmate put me onto Selenium, and I’ve got to say that its just sensational. I can record my scripts straight in the browser (screencast),...
Sep
15

Implementing SAML 2.0 on the cheap…

This last year I’ve done more SAML than any man should. I’ve had a couple of clients doing federated identity and single signon stuff, and SAML is all the rage (actually, I’ve found it pretty great to work with once I got my head around XML C14N). SAML 2.0 is new and shiny and vendors are still scrabling to build libraries to handle it, so to test interop, I built a little test...
Sep
12

Grails: Sending a file to the browser

I recently wanted to add the ability to export CSV files from my little Grails app directly to the browser with one of those "Save As…" numbers. Makes it very easy for clients to save a copy of their addressbook directly to their local disk, and reimport it later on. I’m using opencsv for the heavy lifting so the CSV bit was a snack. The tricky bit was getting the browser to popup as...

logo
Powered by WordPress | Designed by Elegant Themes