Click or drag to resize
Ranorex

AlertBoxFromPath Method

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

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

Parameters

path
Type: SystemString
The search path.

Return Value

Type: AlertBox
The AlertBox.
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