renaud@oslutions.com

about computers? well, it's all about the people anyway.


selenium extention
Sunday June 19th 2005, 2:02 pm

i’ve been playing with selenium those last days. a really nice open source functional testing framework(demo)! what i like about it, is that the tests are very simple to write. actually, it’s only plain html tables. besides, you can follow and see the tests, as the browser-bot executes them.
i need our business people to be able to write tests (i’ve given up the hope to see programmers write tests. maybe business people will…). and since i don’t expect them to know the the element-id they are testing, i wrote some extension to selenium.
now you can use “field=caption” to locate a field on a page, and enter the text that describes the field. also, “button=Login” lets you click on a button labeled “Login”.

createNewUser
open http://someForm.html
type field=Name myName
type field=Password 123456
clickAndWait button=Login

download the extention here. i only tested it with firefox. any feedback welcome.