How to fix problems with Coded User Interface Tests