How to interact with app gui?

I need to build a cookbook for an application where a significant amount of setup takes place in the applications gui after setup and installation. What options are available for interacting with an application gui?

This is always a hard thing to do. I have to work with T-Plan robot and Xvfb to do just this but it is always a pain. Mostly because of the application, not the T-Plan robot. But you can start with this list to find out about your options.

I was already looking into AutoIt and a discontinued ruby gem, but I was hoping there may be a more established method or tool specific to Chef. I guess I will have to either use that or perform a partial manual install, which is a dirty thing to ask of any automation engineer…