In this use-case, you will see the difference between GUI and UI API. And why use the later in your game, for constancy between platforms and API long term support.
This tutorial show how to organize UI tests and reuse most of your existing usecases elements, like comments and screenshots.
This tutorial is intended to provide a way for non-developpers to start building UI test case. By using Silkuli IDE for making and runnning visual scripts (Python script + Screenshots thumbs)