Testing of GUI?
by Jason Rogers other posts by this author
Jul 24 2002 8:39PM messages near this date
Testing of GUI?
|
Testing of GUI?
It may be cleaner (from an implementation standpoint) to use Smalltalk's
reflective capabilities. This would avoid having a bunch of Test*
classes that duplicate the same behavior. Create a generic Bot that can
be used to trigger the GUI events, and a generic ? <insert a good name
here> that can be used to discover the components of a GUI and check
their state.
=jason
On Sat, 2002-07-20 at 12:51, Jerome Chan wrote:
> Does anyone have any hints of how to test GUIs under squeak? I'm thinking
> of exposing all the elements (buttons lists windows) as a sub-class and
> then using smalltalk to simulate the button presses and keystrokes.
>
> Lets say AppWindow has 3 buttons. I create a subclass called TestAppWindow
> with methods that return references to these buttons. Then I send mouse
> down or key down events to the button.
>
>
>
Thread:
Anthony Hannan
Marcus Denker
Markus Gaelli
Hannes Hirzel
Stephan Rudlof
Stephan Rudlof
Michael Rueger
Alan Kay
Jerome Chan
Jason Rogers
Ned Konz
John M McIntosh
Henrik Gedenryd
Tim Rowledge
|