Forum Discussion
.... you don't.
You map each panel in the Mapped Objects panel of NameMapping, choosing properties that are non-dynamic to clearly identify the panel. Things like contentText, classname, etc., in combination can help with this.
You could also apply an "Extended Find" to the Panel(Popup_Title) (again, mapping Panel(Popup_Title in such a way to identify it properly) and completely remove all the other panels from your list. You'll take a bit of a performance hit but, depending upon your situation, that may work best.
Regardless of which way... your ALIAS does not have to match the Mapped object. You can excluded unneeded panels from your Alias so that it is simplified for the object usage within your automation.
- TanyaYatskovska7 years ago
Alumni
Hi Nandhakumar,
Several years ago, we recorded the videos explaining how to use TestComplete to test dynamic objects. A lot of great features were added to TestComplete since that time. However, I think it will be useful to watch the video to understand the main concept:
https://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/