 | IElementHasCapability Method |
Tests if the element possesses a certain capability (or role), by name.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxbool HasCapability(
string capName
)
Function HasCapability (
capName As String
) As Boolean
Parameters
- capName
- Type: SystemString
The name of the capability to look for.
Return Value
Type:
BooleanTrue if the element has the capability or role.
See Also