An item with the same key has already been added RRS feed

  • Question

  • Hi,

    I am working in VS2010 SP1 with a team of other developers. We are automating testing a website with VS Coded UI. I recently ran into a problem where when I try to record and then generate the code I receive the message "An item with the same key has already been added". I looked in several forums and they all mentioned hand editing the XML for the UIMap.uitest and find any nodes under the ExecuteActions node with duplicate MarkerInformation attribute values. I found none. Can someone please help with this? If I get a previous version of the UIMap, I lose almost 2 days worth of work. I also downloaded Feature Pack 2 for VS2010 to be able to edit the uitest files and couldn't find any irregularities.

    Thanks in advance for any help!

    Thursday, March 5, 2015 7:50 PM


All replies