UITechnologyElement.IsInteractable Method

Checks if the element is visible and interactable at this instance.

The plugins should overload this generic implementation to be more accurate and performant.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Overridable Function IsInteractable As Nullable(Of Boolean)
public virtual Nullable<bool> IsInteractable()
public:
virtual Nullable<bool> IsInteractable()
abstract IsInteractable : unit -> Nullable<bool> 
override IsInteractable : unit -> Nullable<bool> 
public function IsInteractable() : Nullable<boolean>

Return Value

Type: Nullable<Boolean>
It can return null, if it cannot decide for sure.

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace