Click or drag to resize
Ranorex

FlavorElementGetElementCapabilities Method

Supplies the role, a list of capabilities and a preferred capability names to the caller. This method called when building a new element from the flavor element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public abstract void GetElementCapabilities(
	Element parent,
	out Role role,
	out string[] capabilities,
	out string preferredCap
)

Parameters

parent
Type: Ranorex.CoreElement
The parent element of the element to be constructed. (for reference only)
role
Type: Ranorex.CoreRole
The role the element should have.
capabilities
Type: SystemString
The list of capabilities the element should have.
preferredCap
Type: SystemString
The preferred capability the element should have.
See Also