IBM Interview Question

How to test a GUI window