IBM interview question

How to test a GUI window