Modify test program for device such as robot and warehouse