On zaterdag, mei 24, 2003, at 14:19 Europe/Amsterdam, Ronald Oussoren
> On Saturday, May 24, 2003, at 14:01 Europe/Amsterdam, Dinu Gherman
>>> I just tried this with simgle widgets and it looks promissing, but
>>> it could also become very challenging for complex widgets like NS-
>>> TableView, -OutlineView and basically anything deeply structured.
>> Of course, the real challenge would be to trigger the tests from
>> *outside* the tested application! Honestly, I have no idea if it
>> is possible to get a handle on a running application from outside,
>> perhaps via notifications posted by NSApplication?
I would assume the new System Events by Apple also work for Cocoa
If they do then we simply send ourselves (or whatever other program we
try to test) the relevant System Event. System Events are an OSA suite,
and support for them is included in Python 2.3.
In case people aren't familiar with System Events: this is the recently
released low-level stuff that makes Universal Access tick. It's really
good: you can basically interact with any GUI element of any
application. And there's an accompanying browser that lets you get at
the names you need to use to address the various UI elements in any
- Jack Jansen <Jack.Jansen@...>
- If I can't dance I don't want to be part of your revolution -- Emma