Re: [Pyobjc-dev] GUI testing
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-05-24 12:00:11
|
I wrote: > Some stuff can certainly be done using NSControl.performClick_(sender) > which every interactive widget should understand. So you can fill in > relevant data into things like textviews, set sliders and so on, and > then make the final "Go" button be magically pressed. Eventually, you > need to read out the widgets or whatever else that should have chan- > ged. > > 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? Dinu -- Dinu C. Gherman ...................................................................... "Journalism largely consists of saying 'Lord Jones is Dead' to people who never knew that Lord Jones was alive." (G. K. Chesterton) |