UITestControl 클래스

UITestControl은 사용자 인터페이스에서 컨트롤을 찾을 수 있는 기능을 제공 합니다. 속성 및 기술의 컨트롤에 일반적인 메서드를 제공 합니다.

상속 계층 구조

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.ApplicationBase
    Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls.DirectUIControl
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
    Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
    Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlWebView

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting
어셈블리:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting(Microsoft.VisualStudio.TestTools.UITesting.dll)

구문

‘선언
<CLSCompliantAttribute(True)> _
Public Class UITestControl
[CLSCompliantAttribute(true)]
public class UITestControl
[CLSCompliantAttribute(true)]
public ref class UITestControl
[<CLSCompliantAttribute(true)>]
type UITestControl =  class end
public class UITestControl

UITestControl 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 UITestControl()
Public 메서드 UITestControl(UITestControl)

위쪽

속성

  이름 설명
Public 속성 BoundingRectangle
Public 속성 ClassName
Public 속성 Container
Public 속성 ControlType
Public 속성정적 멤버 Desktop
Public 속성 Enabled
Public 속성 Exists
Public 속성 FilterProperties
Public 속성 FriendlyName
Public 속성 HasFocus
Public 속성 Height
Public 속성 IsTopParent
Public 속성 Left
Public 속성 Name
Public 속성 NativeElement
Public 속성 SearchConfigurations
Public 속성 SearchProperties
Protected 속성 SearchPropertiesSetExplicitly
Public 속성 State
Public 속성 TechnologyName
Public 속성 Top
Public 속성 TopParent
Public 속성 Width
Public 속성 WindowHandle
Public 속성 WindowTitles

위쪽

메서드

  이름 설명
Public 메서드 CaptureImage
Public 메서드 CopyFrom
Public 메서드 DrawHighlight
Public 메서드 EnsureClickable()
Public 메서드 EnsureClickable(Point)
Public 메서드 EnsureClickable(Point)
Public 메서드 Equals (Object.Equals(Object)을(를) 재정의함)
Protected 메서드 Finalize 가비지 수집기가 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 Find
Public 메서드 FindMatchingControls
Public 메서드 GetChildren
Public 메서드 GetClickablePoint
Public 메서드 GetHashCode (Object.GetHashCode을(를) 재정의함)
Public 메서드 GetParent
Public 메서드 GetProperty
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 GetUITestControlsForSearch
Protected 메서드 MemberwiseClone 현재 Object의 부분 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 SetFocus
Public 메서드 SetProperty
Public 메서드 ToString (Object.ToString을(를) 재정의함)
Public 메서드 TryFind
Public 메서드 TryGetClickablePoint(Point%)
Public 메서드 TryGetClickablePoint(Point%)
Public 메서드정적 멤버 WaitForCondition<T>(T, Predicate<T>)
Public 메서드정적 멤버 WaitForCondition<T>(T, Predicate<T>, Int32)
Public 메서드 WaitForControlCondition(Predicate<UITestControl>)
Public 메서드 WaitForControlCondition(Predicate<UITestControl>, Int32)
Public 메서드 WaitForControlEnabled()
Public 메서드 WaitForControlEnabled(Int32)
Public 메서드 WaitForControlExist()
Public 메서드 WaitForControlExist(Int32)
Public 메서드 WaitForControlNotExist()
Public 메서드 WaitForControlNotExist(Int32)
Public 메서드 WaitForControlPropertyEqual(String, Object)
Public 메서드 WaitForControlPropertyEqual(String, Object, Int32)
Public 메서드 WaitForControlPropertyNotEqual(String, Object)
Public 메서드 WaitForControlPropertyNotEqual(String, Object, Int32)
Public 메서드 WaitForControlReady()
Public 메서드 WaitForControlReady(Int32)

위쪽

연산자

  이름 설명
Public 연산자정적 멤버 Equality
Public 연산자정적 멤버 Inequality

위쪽

설명

이곳의 콘텐츠는 업데이트되지 않습니다. 여기에 자료를 추가하지 마십시오.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.TestTools.UITesting 네임스페이스