다음을 통해 공유


SendKeysAction.IsActionOnProtectedElement 메서드

관련 요소가 보호되는지 여부를 나타내는 값을 반환합니다.

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

구문

‘선언
Public Function IsActionOnProtectedElement As Boolean
public bool IsActionOnProtectedElement()
public:
bool IsActionOnProtectedElement()
member IsActionOnProtectedElement : unit -> bool
public function IsActionOnProtectedElement() : boolean

반환 값

형식: Boolean
값이 암호화되거나, IsEncoded 속성이 true이거나 요소가 암호 필드이면 true이고, 텍스트가 Tab, Enter 또는 Escape 키와 같으면 false입니다.

.NET Framework 보안

참고 항목

참조

SendKeysAction 클래스

Microsoft.VisualStudio.TestTools.UITest.Common 네임스페이스

IsEncoded

Keys