So you want to use a robot to test apps on your mobile device? Tapster has you covered. It is a cool robot that simulates a human finger on capacitive touchscreen devices. It has open source hardware and 3D printable components.
Tapster is programmed with Node.js, Johnny-Five, and Arduino. It has a tappable area of 140mm x 80mm.