Acceptance testing PHP using selenium

Friday, January 26th, 2007

As we are approaching the final stages of one of out projects, I have been doing some serious acceptance testing to make sure that the site is functioning correctly. To set the testing up, I was given a steer in the right direction and used the Seagull wiki as a guide for the installation….hat tip to Demian.

It is really easy to set the test suite up and to get going, all you really need are the following two downloads:

  1. Selenium core test suite
  2. To record tests the Selenium IDE in Firefox

Once you have installed the Selenium core web application and the plug-in for Firefox (Firefox rocks!!) you good to go:

  1. Plan the various tests which you would like to run
  2. Set the Firefox IDE to record your actions
  3. Once you’ve completed a certain test save the test in an .html file
  4. Include a link to your test file in your main index.html (TestSuite) file, which acts as a table of contents for the various tests
  5. Then you can either run the tests individually or as a batch

If you would like a more detailed tutorial, I found the one on the thinkPHP blog to be quite useful.

As Demian says, you start getting “addicted” to creating tests and eventually try to become a perfectionist - which is a good place to be in if you want to produce error free sites for clients.

Tech 4 Africa - Starting to get talked about on the blogosphere

Monday, November 27th, 2006

We have finally got the site up and running and are getting some really positive feedback from the web commuunity. Not just in South Africa, but in other parts of the world as well.

The guys at cowboysengines wrote a pretty cool article about the conference idea and they are giving us some solid support!

Please visit the site, at www.technologyforafrica.org and give us some feedback, so that we can give feedback to the speakers, justify sponsorship and organise a really worthwhile event.

Cheers

Tech 4 Africa - Technology conference

Friday, November 3rd, 2006

With the onset of an extremely cold snap of weather on the 1st November, I am longing to go back home to soak up some rays from the hot African sun during Christmas time.

Instead we will be hard at work in a cold and gloomy London, which is really not as bad as it seems. One of the things we have been working on is a project which is really close to the heart and will hopefully benefit the whole of Southern Africa.

The aim of this project is to hold a “web and emerging technologies conference” in South Africa. We want to get international speakers, who are industry leaders and who would like to give some advice to Africans involved in the Web and IT industry.

I have been doing quite a lot of research over the past few months and I really believe that a conference of this nature will be beneficial to the “African technology community”

We have a site up at and running (www.technologyforafrica.org), which is still undergoing some final testing before we start to contact Southern African companies involved in the IT industry. However, if you have any comments or suggestions please contact one of us, or just post a comment to this article.

I am hoping that we will get positive feedback from the majority of people who we contact because I think the concept of “Technology for Africa” is a fantastic opportunity.