UITechnologyElementProxy 클래스
프록시는 UITechnologyElement 클래스입니다. 확장 플러그인이 재정의 하 고 해당 기술 요소 동작을 사용자 지정 해야 합니다.
상속 계층 구조
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
Microsoft.VisualStudio.TestTools.UITesting.UITechnologyElementProxy
네임스페이스: Microsoft.VisualStudio.TestTools.UITesting
어셈블리: Microsoft.VisualStudio.TestTools.UITesting(Microsoft.VisualStudio.TestTools.UITesting.dll)
구문
‘선언
<ComVisibleAttribute(True)> _
Public MustInherit Class UITechnologyElementProxy _
Inherits UITechnologyElement
[ComVisibleAttribute(true)]
public abstract class UITechnologyElementProxy : UITechnologyElement
[ComVisibleAttribute(true)]
public ref class UITechnologyElementProxy abstract : public UITechnologyElement
[<AbstractClass>]
[<ComVisibleAttribute(true)>]
type UITechnologyElementProxy =
class
inherit UITechnologyElement
end
public abstract class UITechnologyElementProxy extends UITechnologyElement
UITechnologyElementProxy 형식에서는 다음과 같은 멤버를 노출합니다.
생성자
이름 | 설명 | |
---|---|---|
![]() |
UITechnologyElementProxy | 주어진된 기술 관리자를 사용 하 여 프록시 요소를 초기화합니다. |
위쪽
속성
이름 | 설명 | |
---|---|---|
![]() |
ChildIndex | 0 기반 위치가 부모에서 요소의 컬렉션을 가져옵니다. (UITechnologyElement.ChildIndex을(를) 재정의함) |
![]() |
ClassName | 이 요소의 클래스 이름을 가져옵니다. (UITechnologyElement.ClassName을(를) 재정의함) |
![]() |
ControlTypeName | 이 요소의 유니버설 컨트롤 형식을 가져옵니다. (UITechnologyElement.ControlTypeName을(를) 재정의함) |
![]() |
FriendlyName | 같은 텍스트를 신속 하 게 화면에 요소를 인식할 수 있도록이 요소의 이름을 가져옵니다. (UITechnologyElement.FriendlyName을(를) 재정의함) |
![]() |
IsLeafNode | 이 요소는 리프 노드가 있는지 여부를 가져옵니다 (즉 자식이 없는) 지. (UITechnologyElement.IsLeafNode을(를) 재정의함) |
![]() |
IsPassword | 이 요소 또는 보호 된 콘텐츠가 들어 있는지 여부를 나타내는 값을 가져옵니다. (UITechnologyElement.IsPassword을(를) 재정의함) |
![]() |
IsTreeSwitchingRequired | 트리 전환이 필요한 창 없는 트리 전환의 경우에 대 한 인지 여부를 가져옵니다. (UITechnologyElement.IsTreeSwitchingRequired을(를) 재정의함) |
![]() |
Name | 이 요소의 이름을 가져옵니다. (UITechnologyElement.Name을(를) 재정의함) |
![]() |
NativeElement | 이 요소에 해당 (예: IAccessible) 기본 네이티브 기술 요소를 가져옵니다. (UITechnologyElement.NativeElement을(를) 재정의함) |
![]() |
QueryId | 고유 하 게 식별/찾기가이 요소를 사용할 수 있는 QueryId를 가져옵니다. TreeItem 같은 경우에 QueryIds는 전체 요소 계층 구조를 포함할 수 있지만 대부분의 상위만 중요 한 요소를 포함 합니다. 기술 관리자는 각 요소의 QueryId.Ancestor 속성을 적절 하 게 설정 하 여 계층 구조에서 캡처할 상위 항목을 결정 해야 합니다. 이 클래스에서 문자열 또는 그 반대로 변환 AndCondition.ToString() 및 AndCondition.Parse()와 같은 조건 클래스의 Api는 사용할 수 있습니다. 참고: EXT-PROTO1-이 QID이 또한 재귀적으로 모든 상위 핵심 기술 요소 확장 요소 변환 하 고 상위 계층을 적절 하 게 만듭니다. (UITechnologyElement.QueryId을(를) 재정의함) |
![]() |
SupportLevel | (UITechnologyElement에서 상속됨) |
![]() |
SwitchingElement | 하나의 기술이 다른 기술 내에서 호스팅되는 경우 컨테이너 요소를 가져오거나 설정 합니다. 이 프레임 워크에 의해 사용 됩니다. (UITechnologyElement.SwitchingElement을(를) 재정의함) |
![]() |
TechnologyManager | 해당 기술 관리자를 가져옵니다. (UITechnologyElement.TechnologyManager을(를) 재정의함) |
![]() |
TechnologyName | 해당 기술의 이름을 가져옵니다. 이 값이 UITechnologyManager.TechnologyName와 동일 해야 합니다. (UITechnologyElement.TechnologyName을(를) 재정의함) |
![]() |
TopLevelElement | 이 요소에 해당 하는 최상위 창 수를 가져오거나 설정 합니다.최상위 windows는 일반적으로 데스크톱의 자식.설정 되지 않은 경우 프레임 워크 설정 합니다 맨 상위 요소 (상위로 바탕 화면 제외) 후. (UITechnologyElement.TopLevelElement을(를) 재정의함) |
![]() |
Value | 이 요소의 값을 가져옵니다. (UITechnologyElement.Value을(를) 재정의함) |
![]() |
WindowHandle | 이 요소를 포함하는 Win32 창에 대한 핸들을 가져옵니다. (UITechnologyElement.WindowHandle을(를) 재정의함) |
![]() |
WindowTitles | (UITechnologyElement에서 상속됨) |
위쪽
메서드
이름 | 설명 | |
---|---|---|
![]() |
CacheProperties | 이러한 속성 밑줄 UI 컨트롤이 더 이상 존재 하는 경우에 나중에 사용 될 수 있도록 나중에이 요소는 모든 일반 속성을 캐시 합니다. 일반적으로 이름, 클래스 이름, ControlType, QueryId 및 식별 문자열에 사용 되는 다른 속성과 같은 속성 포함 되어 있습니다. (UITechnologyElement.CacheProperties()을(를) 재정의함) |
![]() |
EnsureVisibleByScrolling | 이 요소를 뷰로 스크롤합니다. 기술 관리자 여러 컨테이너 스크롤을 지원 하지 않을 경우 다음 outPointX 및 outPointY를 반환할-1,-1. (UITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)을(를) 재정의함) |
![]() |
Equals(Object) | 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object.Equals(Object)을(를) 재정의함) |
![]() |
Equals(IUITechnologyElement) | 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (UITechnologyElement.Equals(IUITechnologyElement)을(를) 재정의함) |
![]() |
Finalize | 가비지 수집기가 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨) |
![]() |
GetBoundingRectangle | 이 요소를 완전히 둘러싸는 사각형의 좌표를 가져옵니다. (UITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)을(를) 재정의함) |
![]() |
GetClickablePoint | 이 요소의 클릭 가능한 포인트를 가져옵니다.프레임 워크는 UITechnologyElement.GetOption(UITechnologyElementOption.GetClickablePointFrom) GetClickablePointFromTechnologyManager를 반환 하는 경우 클릭 가능한 포인트를 얻을 수이 사용 합니다.Framework에서 제공 하는 기본 알고리즘을 사용 하려면 NotSupportedException을 throw 합니다. (UITechnologyElement.GetClickablePoint(Int32%, Int32%)을(를) 재정의함) |
![]() |
GetHashCode | 해당 개체의 해시 코드를 가져옵니다. .NET 디자인 지침 제안이 너무 재정의 Equals를 재정의 합니다. (Object.GetHashCode을(를) 재정의함) |
![]() |
GetNativeControlType | 이 요소의 네이티브 컨트롤 형식을 가져옵니다.이 범용 ControlType만이 컨트롤을 구분 하는 충분 한 GetControlType()를 통해 가져온 형식과 함께에서 사용할 수 있습니다. 예를 들어, 네이티브 기술 요소 HTML 이면 태그 이름을 수 있습니다. (UITechnologyElement.GetNativeControlType(NativeControlTypeKind)을(를) 재정의함) |
![]() |
GetOption | 이 IUITechnologyElement에 대 한 옵션을 가져옵니다. (UITechnologyElement.GetOption(UITechnologyElementOption)을(를) 재정의함) |
![]() |
GetPropertyValue | 이 요소에 대해 지정 된 속성 값을 가져옵니다. (UITechnologyElement.GetPropertyValue(String)을(를) 재정의함) |
![]() |
GetQueryIdForRelatedElement | QueryId는 UITestElementKind에서 지정한 관련된 요소를 가져옵니다. (UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)을(를) 재정의함) |
![]() |
GetRequestedState | 지정한 요청 된 상태에 대해이 요소의 현재 상태 정보를 가져옵니다. 요소 선택 상태는 쿼리를 지원 하지 않는 경우 전체 상태 정보를 반환할 수 있습니다. (UITechnologyElement.GetRequestedState(AccessibleStates)을(를) 재정의함) |
![]() |
GetRightToLeftProperty | 오른쪽 왼쪽 서식 지정 된 종류에 따라 참/거짓 값을 가져옵니다. (UITechnologyElement.GetRightToLeftProperty(RightToLeftKind)을(를) 재정의함) |
![]() |
GetScrolledPercentage | 스크롤 백분율에서을 가져옵니다. (UITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)을(를) 재정의함) |
![]() |
GetType | 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨) |
![]() |
InitializeProgrammaticScroll | 프로그래밍 방식의 스크롤을 위해이 요소를 초기화 합니다. (UITechnologyElement.InitializeProgrammaticScroll()을(를) 재정의함) |
![]() |
InvokeProgrammaticAction | 이 요소에 전달 된 ProgrammaticActionOption에 따라 프로그래밍 방식으로 작업을 수행 합니다. (UITechnologyElement.InvokeProgrammaticAction(ProgrammaticActionOption)을(를) 재정의함) |
![]() |
IsInteractable | (UITechnologyElement에서 상속됨) |
![]() |
MemberwiseClone | 현재 Object의 부분 복사본을 만듭니다. (Object에서 상속됨) |
![]() |
PerformKeyboardAction | (UITechnologyElement에서 상속됨) |
![]() |
PerformMouseAction | (UITechnologyElement에서 상속됨) |
![]() |
ScrollProgrammatically | 이 요소에 대 한 프로그래밍 방식의 스크롤을 수행 합니다. (UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)을(를) 재정의함) |
![]() |
SetFocus | 이 요소에 포커스를 설정 합니다. (UITechnologyElement.SetFocus()을(를) 재정의함) |
![]() |
SetOption | 이 IUITechnologyElement에 대 한 옵션을 설정합니다. (UITechnologyElement.SetOption(UITechnologyElementOption, Object)을(를) 재정의함) |
![]() |
SetPropertyValue | Setproperty 매크로 함수를 수행합니다. (UITechnologyElement에서 상속됨) |
![]() |
ToString | 이 컨트롤의 문자열 표현을 가져옵니다. (Object.ToString을(를) 재정의함) |
![]() |
WaitForReady | 요소가 사용자 작업에 대 한 준비가 될 때까지 기다립니다. (UITechnologyElement.WaitForReady()을(를) 재정의함) |
위쪽
스레드로부터의 안전성
이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.