Bounteous x Accolite interview question

How would you design a test automation framework for a large-scale application from scratch?