 | RxPathIsSimilar Method |
Determines whether two paths are similar.
Per definition, paths are similar if they could yield an intersecting set of result elements.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool IsSimilar(
RxPath a,
RxPath b,
out int warnCount,
IDataProvider provider
)
Public Shared Function IsSimilar (
a As RxPath,
b As RxPath,
<OutAttribute> ByRef warnCount As Integer,
provider As IDataProvider
) As Boolean
Parameters
- a
- Type: Ranorex.CoreRxPath
The first path. - b
- Type: Ranorex.CoreRxPath
The second path. - warnCount
- Type: SystemInt32
The warn count is set to the number of significant differences both paths have (but are not a contradiction per se). - provider
- Type: Ranorex.Core.DataIDataProvider
The data provider to use to resolve variable values.
Return Value
Type:
Booleantrue if the specified the paths are similar; otherwise,
false.
See Also