Click or drag to resize
Ranorex

WpfCoreGroupElementFromPath Method

Converts a string to an instance of this class by searching the root.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Wpf.Core (in Ranorex.Plugin.Wpf.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static WpfCoreGroupElement FromPath(
	string path
)

Parameters

path
Type: SystemString
The search path.

Return Value

Type: WpfCoreGroupElement
The WpfCoreGroupElement.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf path is null.
RxPathExceptionIf the specified path is not valid.
ElementNotFoundExceptionIf no element is found.
CapabilityNotSupportedExceptionIf the element does not support the capabilities required by this adapter.
Remarks
The DefaultSearchTimeout is used to search for the specified path.
See Also