Click or drag to resize
Ranorex

IElementTryFindSingle Method (RxPath, Element)

Tries to apply a Ranorex Path to the element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
bool TryFindSingle(
	RxPath path,
	out Element foundElement
)

Parameters

path
Type: Ranorex.CoreRxPath
The RxPath to apply.
foundElement
Type: Ranorex.CoreElement
The first element found or null if no element is found.

Return Value

Type: Boolean
True if an element is found for the specified path, otherwise false.
See Also