Fortanix interview question

How would you write automation framework