nav-left cat-right
cat-right

10 Tips for Building Selenium Integration Tests

I've been developing an API for our testers to use when writing GUI integration tests and acceptance tests for our main AJAXified web product. Having chosen Selenium Remote Control as our test engine, and writing many tests by hand and with the Selenium IDE Firefox Plugin, I've delved deeply into Selenium this past several weeks. (I've also managed to not only isolate it from our testers, but make our tests portable to any...

HTML manipulation with System.Xml.XmlDocument

HTML Table of Contents Generator Example Sometimes it's easy to forget that HTML is just one type of XML, and hence you can utilize the System.Xml library for fun and profit with your HTML. System.Xml is full of powerful tools to manipulate well-formed documents, and you really don't need to know much about XML to leverage it. With two simple lines of code you can have a document loaded into a data structure that has...

PHP 5.3 – Namespaces and Late Static Binding

Work on the Mono machine continues. For reasons as yet undisclosed, I'm rebuilding the Mono test box from scratch. I'm not expecting this to resolve the previous issues I experienced while benchmarking Mono, but it is allowing me to tie up some loose ends. More on that soon. In the meantime, I noticed a new article over at Sitepoint about the upcoming PHP 5.3 release, slated for later this year. Apparently some new...

Silverlight – Oh no, not this again

Excuse me while I ponder for a minute, but I'm continually surprised by the absolute prostration of some of the development community at the feet of Silverlight. It's filling the .Net blogspace like crazy right now, and many control developers are already shifting focus to it (Telerik and Infragistics, to name two), citing it as the "next generation" of the web. My project manager walked out of the Silverlight talk at code...

Benchmarking Mono ASP.Net vs. PHP – a slight...

We promised some numbers, but I've run into a snag that's slowed down my testing. Originally when we first started toying with the idea of pitting Mono + ASP.Net against PHP, I wrote a quick PHP script that would just make a cheap fopen call to whatever URL you wanted to test, however many times you wanted to hit it. This isn't really load-testing, it's more like a basic timer, and not a very accurate one at that. ...