Click or drag to resize
Ranorex

PathBuildMode Enumeration

The method how RxPaths are built.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public enum PathBuildMode
Members
  Member nameValueDescription
Default0 Uses the PathBuildMode specified in the current "RxPath.BuildMode" configuration.
Volatile1 No optimization is performed. Path predicates contain valid, appropriate and existing attribute values or indexes if no attributes can be used. Path predicates include volatile attributes such as handle or processid.
Simple2 No optimization is performed. Path predicates contain valid, appropriate and existing attribute values or indexes if no attributes can be used.
Reduce3 Reduces the number of path predicates such that the path remains non-ambiguous. This usually shortens the path and makes it more robust by eliminating unnecessary attributes.
StepCostReduce4 Reduces the number of path predicates such that the path remains non-ambiguous. In addition to that, removes intermediate steps considered as unimportant. Can be heavily tuned using the RxPath.PathBuildMode settings. This usually shortens the path and makes it more robust by eliminating unnecessary attributes.
ReduceForRef5 Reduces the number of path predicates such that the path remains non-ambiguous. This usually shortens the path and makes it more robust by eliminating unnecessary attributes. Variant of 'Reduce' used for reference paths in repositories. Contains more information than 'Reduce'.
ExtendedStepCostReduce6 Reduces the number of path predicates such that the path remains non-ambiguous. In addition to that, removes intermediate steps considered as unimportant. Can be heavily tuned using the RxPath.PathBuildMode settings. This usually shortens the path and makes it more robust by eliminating unnecessary attributes. This option is extened by storing robust path which is used after 50% of the timeout.
See Also