There are two primary angles. First, you automate user inputs to quickly trigger the tested screens. Second, you automate validation of whether the screens render and behave correctly. You can do just one or both.