Re: [Pyobjc-dev] GUI testing
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-05-24 15:43:31
|
Jack Jansen: > I would assume the new System Events by Apple also work for Cocoa > programs? > > 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 > application. The Anguish et al. book says on page 863 (Apple Events): "... Cocoa applications must use the Carbon Apple Event Manager API to send Apple Events. ..." Unfortunately, it's not quite clear which version that refers to, since just earlier it mentions problems with 10.1.3... Dinu -- Dinu C. Gherman ...................................................................... "It was wonderful to find America, but it would have been more wonder- ful to miss it." (Mark Twain) |