 | AdapterTryFindSingle Method (RxPath, Duration, Element) |
Tries to apply a Ranorex Path to the adapter, returning an
Element.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic bool TryFindSingle(
RxPath path,
Duration timeout,
out Element foundElement
)
Public Function TryFindSingle (
path As RxPath,
timeout As Duration,
<OutAttribute> ByRef foundElement As Element
) As Boolean
Parameters
- path
- Type: Ranorex.CoreRxPath
The RxPath to apply. - timeout
- Type: RanorexDuration
The time to keep looking for the element. - foundElement
- Type: Ranorex.CoreElement
The first element found or null if no element
is found within the timeout.
Return Value
Type:
BooleanTrue if an element is found for the specified
path
within the specified timeout, otherwise
false.
Implements
IAdapterTryFindSingle(RxPath, Duration, Element)
See Also