Electronic Arts Interview Question

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