How to write an automated UI testing? That is a problem has been bothering me, a Qt developer, for many…