[Seaside] Albatross: Seaside scenario testing
stephane.ducasse at free.fr
Tue Oct 10 07:05:28 UTC 2006
Tx for sharing that with us.
On 7 oct. 06, at 17:44, Andrea Brühlmann wrote:
> I have developed a framework to quickly write scenario tests for
> Seaside applications. Albatross lets you write SUnit tests that run
> a Seaside component in an external web browser and simulate user
> interactions. It provides access to the running and rendered
> component and at the same time to the model of your application.
> You do not need to think about html tags or ids and names, because
> Albatross has cleverer ways to find out what you want to do. It
> finds form fields just by the corresponding label text or clicks on
> testing because it really runs the application in the default web
> browser of your computer. You can write tests like the following:
> browser enter: 'Jack' for: 'Username';
> enter:'grml78sh' for 'Password';
> self assert: (
> browser textExists: 'Successfully logged in').
> Download Albatross as a monticello package from http://
> * Seaside
> * FFI (from SqueakMap. Required for Squeak >=3.9)
> * AppleScript (required for MacOS. From http://
> abrue.ab.funpic.de/albatross/Mac-Applescript.st (SM version with
> * ExternalWebBrowser (from SqueakMap)
> * Albatross (from http://squeaksource.com/Albatross)
> There is a demo test for Pier in the Albatross package that will
> show you how to write tests. You can run the demo test (APierTest)
> if you have downloaded Pier.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside