Amazon Interview Question

How do you test an UI?