Click or drag to resize
Ranorex

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
Syntax
public static bool IsSimilar(
	RxPath a,
	RxPath b,
	out int warnCount,
	IDataProvider provider
)

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: Boolean
true if the specified the paths are similar; otherwise, false.
See Also