Click or drag to resize
Ranorex

AdapterFindDescendantT Method

Finds a descendant of the given capability adapter type.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public T FindDescendant<T>()
where T : Adapter

Type Parameters

T
The adapter type to use. The supplied type must inherit from Adapter, but most not be the Adapter type itself.

Return Value

Type: T
The matching element adapter.

Implements

IAdapterFindDescendantT
Exceptions
ExceptionCondition
ElementNotFoundExceptionIf no element is found.
See Also