Archives for Jonathan Gilbert

Writing Plugins in Scala

Why Scala? Scala is currently gaining a lot of traction in the Java community, for a number of reasons. Twitter replaced it's Ruby-based messaging backbone with one written in Scala. It also has a lot going for it as a language, and also compiles to bytecode just as Java does (Martin Odersky wrote both the Scala compiler and the current javac reference compiler). What does this language have over Java? There's a lot, and some of it certainly looks fairly strange compared to Java. Examples of some

Continue reading »

Selenium Testing with Windows Integrated Auth

Automated web testing generally has problems testing sites using Windows Integrated Authentication. This is because the nature of integrated auth is to supply the credentials of the logged-on user - which in the general case is going to be the user running the tests. This may work in some cases, but at the very least it's likely you want to test using both an admin and non-admin user. This can be done with Selenium, but requires some work to get it set up (I'm assuming we're using Selenium Server here).

Continue reading »