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?