Original Post
I started some time ago to write a minimal windowing framework. something similar to tk/gtk/qt/mfc etc .. but minimalistic. I was building it with SDL. it became obvious pretty fast that I needed a way to test it automatically because hitting buttons and moving windows around isn't going anywhere(or it does but it takes too much time). how exactly is automated GUI testing carried out ? do I just send events with mouse clicks ? suppose I want to drag & drop , how do I do that ? Also suppose I want to check if an item is in place, do I get pixels off of the video card buffer to check if the color I was expecting is there, or maybe just read the coordinates of the object ? how do you guys do this ? I am planning to use gmock or gtest from Google as a testing framework but first I need to see how I'm going to automate the tests. thanks