Forum Discussion
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.
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
- 5 years ago
- 5 years ago
- 7 years ago
Recent Discussions
- 16 hours ago
- 18 hours ago
- 20 hours ago