 | PathBuildMode Enumeration |
The method how RxPaths are built.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic enum PathBuildMode
Public Enumeration PathBuildMode
Members|
| Member name | Value | Description |
|---|
| Default | 0 |
Uses the PathBuildMode specified in the current "RxPath.BuildMode" configuration.
|
| 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.
|
| Simple | 2 |
No optimization is performed. Path predicates contain valid, appropriate and existing attribute values
or indexes if no attributes can be used.
|
| 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.
|
| 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.
|
| 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'.
|
| 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.
|
See Also