Preparing Ui to be automated