title: Check if application is suitable for the ms ui automation framework
body: <p>I want to make basic gui-tests with the ms ui automation framework, therefore i'm starting the program that should be tested over a process object:</p>
  
  <pre><code>Process process = new Process();
  process.StartInfo.FileName = path;
  process.Start();
  AutomationElement mainform = AutomationElement.FromHandle(process.MainWindowHandle);     
  </code></pre>
  
  <p>Yet my Queskion is how to check if the started program is even suitable to test with the ui automation framework ? If i'm going to start e.g a java programm will the mainform AutomationElement be null ? </p>
  
  <p>Or are all .exe applications ui automation framework compatible ? </p>