Hi, We noticed that TC is having problems with recognising IDs on WEB (Chrome), we are currently on 15.81 version. When testing some IDs, TC recognises and writes them, and others don’t, without an...
When you double-click on a step and have the option to drag the target, I can then see the dropdown list of what TC writes in the name mapping to check if there is an ID or not. TC writes ID on the web starting with #, and if you look in the namemapping editor, ID won't have xPath, but it will have CSS.
If in the dropdown list there is no option that starts with #, then i know it didn't write ID.
The first option has # at the start, and I know this is an ID.
Examples are IDs in web componets like <div .... id="......" >
I apologise if i thought here are also bug reports.
So you are referring to Name Mapping. TestComplete provides the option to use XPath Expressions or the Classic Approach to locate web elements based on their attributes. If you have created a name mapping where an attribute contains a name plus a number, and that number changes dynamically. Then you can use Wildcards to handle the variation.
The most important part of working with TestComplete is understanding how object identification works. This involves defining the search criteria that TestComplete uses to locate a specific object.
TestComplete can locate objects, without having an ID!