title: White/UI Automation doesn't recognize the container (pane control) in tab
body: <p>I'm automating the windows application. I tried to access the pane element(which has text box, combo box controls) under tab control, but it's not accessible. White returns null.</p>
  
  <p>I tried other techniques like UI automation TreeWalker (Rawview, Control view, content view), but nothing helps.</p>
  
  <p>refer images in below links:
  <a href="https://dl.dropboxusercontent.com/u/68446125/Tab.png" rel="nofollow">https://dl.dropboxusercontent.com/u/68446125/Tab.png</a>
  <a href="https://dl.dropboxusercontent.com/u/68446125/General%20Pane.png" rel="nofollow">https://dl.dropboxusercontent.com/u/68446125/General%20Pane.png</a></p>
  
  <p>As in picture 1, tab control is retrieved properly by White/UI Automation, but the child element General* Pane is not returned and it's controls are not accessible (Refer pic 2 highlighted), the first accessible child element is "General* tab Item".</p>
  
  <p>Strange thing is, these controls are accessible in Inspect.exe (in windows SDK). I tried following methods to retrieve controls, but General* Pane is never accessible through White/UI Automation.</p>
  
  <pre><code>var tab = Window.Get&lt;Tab&gt;(SearchCriteria.ByControlType(ControlType.Tab).AndByClassName("TwoPageControl")); // Tab control is retrieved properly
  var pane = tab.GetElement(SearchCriteria.ByControlType(ControlType.Pane).AndByText("General*")); // this line returns NULL
  
  var pane1 = revWindow.GetElement(SearchCriteria.ByControlType(ControlType.Pane).AndByText("General*")); // this line returns NULL
  var pane2 = revWindow.Get&lt;Panel&gt;(SearchCriteria.ByControlType(ControlType.Pane).AndByText("General*"));// throws exception "Failed to get ControlType=pane,Name=General*,ControlType=pane"
  </code></pre>
  
  <p>Tried windows UI automation code as well, but no luck.</p>
  
  <pre><code> System.Windows.Automation.Condition cd1 = new AndCondition(
                  new PropertyCondition(AutomationElement.ControlTypeProperty, ControlType.Tab),
                  new PropertyCondition(AutomationElement.ClassNameProperty, "TwoPageControl"));     
  
              AutomationElement a = window.FindFirst(TreeScope.Descendants, cd1); // Tab control is returned properly here
  
            TreeWalker rawViewWalker = TreeWalker.RawViewWalker;
              AutomationElement cc = rawViewWalker.GetFirstChild(a); // General * Pane is not returned, instead General* Tab item is returned, though it's not the first child.
              var cd = rawViewWalker.GetNextSibling(cc);  // this returns next pane element available, not General * Pane.               
  </code></pre>
  
  <p>Please help me how to access General * Pane and it's children under tab control. Any help is much appreciated.</p>