Forum Discussion
AlexeyKolosov
Staff
16 years agoHi Nikita,
Yes, I refer to changing recognition criteria during script execution. In the Edit the Property Value dialog which appears if you select a mapped property value in your Name Mapping scheme and press the ellipsis button, you can define a project variable instead of a constant (see the "Edit the Property Value Dialog" help topic (http://www.automatedqa.com/support/viewarticle/12855/) for more information). If you change the value of the variable during your script execution and call the RefreshMappingInfo method, TestComplete will use the new recognition criteria and change the object reference. However, you can only use project variables defined in the current project (that is, in the project in which the Name Mapping scheme resides) for this.
If you have a feature request or a specific suggestion regarding this functionality, feel free to share it with us and we'll consider your suggestion.