Click or drag to resize
Ranorex

IElementFindSingle Method (RxPath, Duration)

Applies a Ranorex Path to the element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
Element FindSingle(
	RxPath path,
	Duration timeout
)

Parameters

path
Type: Ranorex.CoreRxPath
The RxPath to apply.
timeout
Type: RanorexDuration
The time to keep looking for the element.

Return Value

Type: Element
The first element found.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf path is null.
ElementNotFoundExceptionIf no element is found within the timeout.
See Also