 | ElementFindFromUid Method |
Finds a descendant element by its unique identifier attribute (defined by the owner flavor UidAttribute name).
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic bool FindFromUid(
string uidValue,
out Element result
)
Public Function FindFromUid (
uidValue As String,
<OutAttribute> ByRef result As Element
) As Boolean
Parameters
- uidValue
- Type: SystemString
The unique id value. - result
- Type: Ranorex.CoreElement
The result element, if anything was found.
Return Value
Type:
BooleanReturns
true if an element was found for the given unique id value.
Implements
IElementFindFromUid(String, Element)
RemarksFor this to work, the underlying flavor element has to implement GetChildLineageFromUid()
and has to set IsUidDomainRoot properly.
See Also