Forum Discussion
Hi Wamboo ,for the option: Tools -> Options -> Engines -> NameMapping,
it's not good option when run project. Because it will stop cases and popup dlg: Edit namemapping dlg
Can you verify that you have all these tags checked in the options?
I am uploading the screen below.
If you have mapped this object in the repository and let TestComplete update the object data by itself, the window will not appear.
To be more specific. In TCv.12 there is no "Healing mode" so ignore this value.
- Bingo5 years agoContributor
Thanks update,
Last time I check off 3rd selection, the window appear.
So I will uncheck it for project.
From help doc, I find it:
Run your tests. Whenever TestComplete cannot find a mapped object that a test operation uses, it will pause the test run and suggest fixing the identification problem
Regards,
Bingo
- Wamboo5 years agoCommunity Hero
Can this window be dynamically searched in a script based on any values?
I mean, your script comes to the moment of interaction with this window.
The script is currently stopping because you cannot find the right window.
If you use the .findxxx() method and you search for this object, will it help you?
I mean that in the .find method (with a slight modification) you can search for several objects at once.
- Bingo5 years agoContributor
Back to my origin question,
There are two windows, and they are the same wndclass : #32770 and I use this property for dlg's namemaping,
My case like it:
Dlg.btnOK.Click ' another window will appear
Dlg.btnCancel.Click 'Cancel this window. But it will failed because it will show "btnCancel" is invisible. It still use last window structure.
But if I use these script,
Dlg.btnOK.Click
Dlg.refresh
Dlg.btnCancel.Click
It will work normally.
But most when a dlg disappear and another dlg appear, i don't need refresh the window in script.
So my question is,
When and where i need use reresh? When and where TC will auto refresh the tested object?
There have a simple explain:
I will add refresh method in my project now.
Related Content
Recent Discussions
- 2 days agovladd1