PDA

View Full Version : Automatic UI Verification



binggan194
2nd April 2009, 09:30
Hello, I want to verify the UI automatically after the rendering complete. My solution is creat a sub-thread and sleep several seconds to wait for rendering complete, then get the UI control's image in this sub-thread using grabWidget() or grabWindow(), and then do image comparion with baseline.

Is this a proper solution? Do you have other better ways?

binggan194
3rd April 2009, 04:51
Can anybody help me?:o

wysota
3rd April 2009, 07:46
Depends what your ui does. It might be easier to compare important properties.