title: Test automation tool/libraries/framework for C++ GUI desktop windows apps
body: <p>unfortunatelly I have a GUI desktop application running on Windows and compiled using Borland C++ compiler. I know it's a very old technology, but that's the life. The company I work for have lots of free licences for QTP. But to be honest I don't like this tool and I want to change it with some open source alternative.</p>
  
  <p>I have an experiance with automation Web services using Selenium, and some java swing applets.
  I created my tests based on Java/JUnit. I'm wondering if I can create some tests in Java to test my C++ application - that would be great. If that's not possible if I can use any C/C++ libraries to create my own test framework.</p>
  
  <p>That shouldn't be unit tests. I want to create rather a suite of functional tests.
  I want to be able to localize objects like buttons, tables, cells, etc., perform action like clicking, changing focus, etc.</p>
  
  <p>In addition I have access to source. But this is rather an old spaghetti code and I don't have much experiance with C++ apps.</p>
  
  <p>What do you suggest?</p>