Name Mapping: conditional mode
Has anybody used conditional mode in TC11?
I just tried, but it didn't work.
I've got a Dialog with two alternative WndCaptions, so Contitional Mode would be the right way to handle it.
The alias has got a condition for WndClass, WndCaption and Exists.
I edited the mapping and entered an OR condition to the WndCaption.
After that TC couldnot find any of the both Dialog alternatives, even the one it could identify before was recognized no more.
Then I removed the additional condition, but TC could find nothing. I tried to remove the conditional mode, but TC doesn't let me do this for an item that can't be identified on Screen.
So I compared the NameMapping.tcNM to the former Version and found an additional filter line there. After removing it, the conditional mode was gone and TC could find the first Dialog Version as before.
Then I played around a Little bit.
I enabled cm for "sys" - no Problem.
Next, I enabled it for the process ("pva") - OK.
Then, I tried the next Level, my main window. The mapping conditions comprise WndClass, WndCaption and Exists. When I turned on cm, it said that the criteria would not provide unique identification (which they did in Basic mode). When I save this, the main window is not recognized anymore.
AAnybody else has experiences with this?