Sphero Interview Question

How would you automate testing of an embedded device?