Forum Discussion
AlexeyKolosov
Staff
15 years agoHi Kevin,
Are you saying that I can bypass the "AfxFrameOrView80" value by mapping directly to the object?
I'm not sure what you mean by "mapping directly to the object" here. However, here are the steps which should help:
1. Remove all "AfxFrameOrView80..." objects from your Name Mapping scheme (except for the original "AfxFrameOrView80" object).
2. Select the "AfxFrameOrView80" object in your Name Mapping scheme.
3. Specify the following recognition criteria:
WndClass = "AfxFrameOrView80*"
WndCaption = "Customer Service*"
4. Try playing back your test - it should work fine. If your recorded test uses the "AfxFrameOrView801", "AfxFrameOrView802", etc. objects, it would be better to re-record the problematic tests - if the Name Mapping scheme is correct, TestComplete will use the "AfxFrameOrView80" object this time and will not create new mappings for the object.