Duplicate repository item keeps re-appearing.

Ask general questions here.
Peter546
Posts: 20
Joined: Sun Jun 19, 2016 12:23 pm

Duplicate repository item keeps re-appearing.

Post by Peter546 » Tue Jun 28, 2016 10:01 am

Very randomly a duplicate repository item (no item in specific) may appear in my repository. This can cause some of my validations to fail as the duplicate item has the wrong X-path. Even if duplicate items are appearing - how is it possible that my validation action starts using a different repository item when I have already specified which repository item to use.

Before the duplicate appears - my validation works fine as the original item it is looking at has the correct path. Anyone have any ideas

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4047
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Duplicate repository item keeps re-appearing.

Post by odklizec » Tue Jun 28, 2016 11:50 am

Hi Peter,

Please answer the following questions...

What Ranorex version do you use?
Are you using some kind of source control system (which one/version)?
Is it just you who is working on the solution or there are some other people working on it?
Do you have an idea after what action the duplicate repo items appear (reloading solution, new recording/element tracking, checkout from version control system, etc.)?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Peter546
Posts: 20
Joined: Sun Jun 19, 2016 12:23 pm

Re: Duplicate repository item keeps re-appearing.

Post by Peter546 » Thu Jun 30, 2016 9:10 am

Hi Pavel

We're removing the duplicate items - I'm not too sure where they've came from but they were always there since we started the project. Removing these and making sure our tests are linked to the correct repository item will resolve the problem.

Thank you.