[Seaside] Pharo/Seaside UI testing

Tony Fleig tony.fleig at gmail.com
Tue Jan 11 19:19:14 UTC 2011

I was unaware of Selenium-RC, but after watching the video, the big
difference I see is that the WebClient/Soup approach doesn't require
any external tools like a Java webserver and doesn't use a browser.
I'm not sure that is really a significant difference though, and using
the Selenium-RC approach it might be quicker to develop tests.

Selenium-RC should make any browser incompatibilities apparent and
that is a useful feature.

The WebClient/Soup approach might be better suited to automated
testing as part of a build process, since it can be executed on a
headless server system.


On Tue, Jan 11, 2011 at 12:48 AM, Nick Ager <nick.ager at gmail.com> wrote:
> Hi Tony,
> I'd be very interested to compare you testing approach with Selenium-RC
> method see:
> http://www.pharocasts.com/2010/08/web-application-testing-through.html
> Nick
> On 11 January 2011 00:51, Tony Fleig <tony.fleig at gmail.com> wrote:
>> I have to say, I am loving the Pharo/Seaside development environment.
>> Manually testing TFLogin (a basic login and user account management
>> package for Seaside) using Firefox was taking longer and longer as
>> added features multiplied the number of cases to be tested. I had unit
>> tests for the underlying pieces; testing the callbacks on the rendered
>> pages was where most of my time was being spent.
>> Yesterday I loaded WebClient and Soup from Squeaksource and together
>> they made it possible for me to script tests of the TFLogin Web UI
>> without needing a browser. This even includes verifying confirmation
>> email callbacks.
>> I've constructed web apps in other environments (e.g. LAMP, ASP) and
>> never had this level of automated testing. Its surely not impossible
>> in other development environments, but somehow it never happened. I've
>> been thinking about why in the Pharo/Seaside environment this seemed
>> so natural and I've come up with these reasons:
>> 1. It required no extra infrastructure or products to set up the test
>> environment. Seaside's server, the WebClient clients, Soup, and the
>> TFLogin test app are all present in the Pharo image.
>> 2. No shell scripts or Perl or Python code was necessary.
>> 3. The tests cases are integrated into the development environment,
>> and are not in another tool or language.
>> Regards,
>> TF
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list