////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>    Gets an automation object. </summary>
 ///
 /// <param name="controlLocatorDef">    The control def. </param>
 ///
 /// <returns>    The automation object. </returns>
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 public virtual IElementUnderTest GetAutomationObject(IControlLocatorDef controlLocatorDef, bool bCreateHandle = true)
 {
     return(WinControlUnderTest.FromControlDef(controlLocatorDef));
 }