How to write UI Tests

Hi,

My game uses cocos2d-x

Is there any UI framework available that I can use to write automated UI tests for the same.

I had made a simple Testing Framework for myself;
Hope that work for you too;

btw, it is not automated but simplify the route to test the UI components