Forum Discussion
Thanks for suggestion.
However, name mapping is more different but reset part of name mapping is the same.
app_A name mapping : NameMapping.Sys.AAAAA.MainForm.tableLayoutPanel.toolBarPanel
app_B name mapping : NameMapping.Sys.BBBB.MainForm.tableLayoutPanel.toolBarPanel
Besides, do I need to build a new name mapping for app_b?
The object identification criteria that you have defined and which TestComplete uses to search for objects in the application uniquely, needs to be updated to include a wildcard.
Whereas, using a wildcard
It's vital to understand https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html as this is used to instruct TestComplete on how to locate the object in your tested application.
The child object of NameMapping.Sys. need to be correctly defined to include a wildcard (if possible), and MainForm.tableLayoutPanel.toolBarPanel will refer to the parent object that matches the criteria.
- JDR25002 months agoFrequent Contributor
100% with rraghvani.
You can deal with this using your existing name mapping with minor modifications. We accomplish the same thing via a project variable and wildcards.
In our case we want the ability to run automation with previous and future versions of our application. Our approach uses a project variable to store the application name. That variable includes wildcards as you'll see below. We then use that project variable as the ProcessName identification property for the root application object in the name mapping.
We can edit the project variable any time if needed.
Related Content
- 7 years ago
- 5 years ago
- 5 years ago
Recent Discussions
- 9 hours ago
- 7 days ago
- 10 days ago