コード例 #1
0
ファイル: TestControl.cs プロジェクト: jeason0813/testcontrol
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <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));
 }