Click or drag to resize
Ranorex

JavaElementFromElement Method

Converts an Element to an instance of this class.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Java (in Ranorex.Plugin.Java.dll) Version: 12.7.4-git.38314c06
Syntax
public static JavaElement FromElement(
	Element element
)

Parameters

element
Type: Ranorex.CoreElement
The element to convert.

Return Value

Type: JavaElement
The JavaElement.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf element is null.
CapabilityNotSupportedExceptionIf the element does not support the capabilities required by this adapter.
See Also