Sunday, January 21, 2007

Selenium Lunch and Learn

I haven't done a lunch and learn in ages now. Wonder if I can do this on tomorrow teaching about Selenium. Well rather than looking at a blank PowerPoint document, I thought it might be better to hash out my thoughts in a blog entry and transfer them over to PowerPoint later so here goes. Selenium is a tool that can playback a script of commands directly on the browser. Selenium's core functionality is similar to that Rational Robot. The advantage for the test team is quite obvious, easy regressions through automated testing. For development and training, we can use this to help us automate the creation of our test cases that we lose we release a new build. A simple script would look like this...

open/logon.jsp
typej_usernamesuperuser
typej_passwordpassword
submitAndWait//form
This script performs a logon on the system. Show demo here Show to to record the simple script using Selenium IDE that does up to case creation. Show how to modify a script to have random numbers and put in the value as part of the client name. Show a full demo of with all the cases.

0 comments: