Table of Contents

Enum PathBuildMode

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

The method how RxPaths are built.

public enum PathBuildMode

Fields

Default = 0

Uses the PathBuildMode specified in the current "RxPath.BuildMode" configuration.

ExtendedStepCostReduce = 6

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.

Reduce = 3

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.

ReduceForRef = 5

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'.

Simple = 2

No optimization is performed. Path predicates contain valid, appropriate and existing attribute values or indexes if no attributes can be used.

StepCostReduce = 4

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.

Volatile = 1

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.