Amazon interview question

How do you test an UI?