maxime_esprit
12 years agoOccasional Contributor
Object Checkpoint and Namemapping
Hi Smartbear,
I'm using TestComplete 9.2 to test a software application.
Usualy I have to verify the property wText of all controls in a window.
Today, to do that, I use one Property Checkpoints for each Controls of the window. It's quite long and heavy if the window contains 20 controls.
That's why, I would like to use the Object Checkpoint.
Unfortunately, I can't find a way to use the Namemapping in my Object definition, instead of using the property Name of the window object.
Because, if the caption of the window is changed, I will have to modify the namemaping (OK), but also my Object definition. And I don't want that.
I've attached a picture to show a sample of what I would like.
In this example, if the wCaption "Parameters" becomes "Default Parameters", my Object will no longer work well, even if I modify it's namemapping (wich is also based on the wCaption).
Is there a solution ?
Thanks in advance
Best Regards
Max
I'm using TestComplete 9.2 to test a software application.
Usualy I have to verify the property wText of all controls in a window.
Today, to do that, I use one Property Checkpoints for each Controls of the window. It's quite long and heavy if the window contains 20 controls.
That's why, I would like to use the Object Checkpoint.
Unfortunately, I can't find a way to use the Namemapping in my Object definition, instead of using the property Name of the window object.
Because, if the caption of the window is changed, I will have to modify the namemaping (OK), but also my Object definition. And I don't want that.
I've attached a picture to show a sample of what I would like.
In this example, if the wCaption "Parameters" becomes "Default Parameters", my Object will no longer work well, even if I modify it's namemapping (wich is also based on the wCaption).
Is there a solution ?
Thanks in advance
Best Regards
Max
Hi Max,
We have a suggestion to use names of mapped objects in Object Checkpoints in our DB. I've increased its rating based on your request. Thanks!