Forum Discussion

maxjaison's avatar
maxjaison
New Contributor
6 years ago
Solved

Mappedname is being reused by another control

Hello,   I'm a newbie to the TestComplete tool.  I'm evaluating it for some automated testing. I was recording the clicking of this link named "Documents".  You can see it being highlighted in ...
  • tristaanogre's avatar
    6 years ago

    What it sounds like is that the properties of being used to map the component are not distinct enough to differentiate between the different links.  You'll need to first of all go back to where that "Submission" link is and edit the mapping of that component so that it is distinct.   Things like caption, text, label, etc., can help.   Then, when you get to the next page, you can remap the new component without issue.

     

    Just as a note -> This is a standard "problem" with recording tests.  You have very little control over how the components are mapped.  99.99999999% of the time, after you record a test, you should go back and edit, adjust, insert, etc., mapping and code logic to make sure that the test is robust and will work repeatedly.