Click or drag to resize
Ranorex

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
Syntax
public bool TryFindSingle(
	RxPath path,
	Duration timeout,
	out Element foundElement
)

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: Boolean
True if an element is found for the specified path within the specified timeout, otherwise false.

Implements

IAdapterTryFindSingle(RxPath, Duration, Element)
See Also