There are ways to launch certain apps as well as bring certain apps foreground. This helps a bit. Furthermore there are ways to send keypresses to any focused application.
That's about it. There are no ways to directly hook into any UI widget at all. Only to send keypresses into application in general. In my opinion you can do some limited kind of automated UI testing with PyS60, but not enough. Additional testing will be required.