How would you design an automation framework for an enterprise mobile application that has two distinct core features?