Electronic Arts interview question

How would you go about automating a new application from scratch?