Page 1 of 1

Best way to update repository items?

Posted: Mon Sep 23, 2013 8:00 am
by fimo420
Hi,

Just have a general questions.
How or what is the best way to update ranorex repository items?
I mean there are occasions when the item has changed,renamed, moved etc...so how do you guys update?
I reimport the item and rename it to the oldname and delete the old one, maybe not the best way??
So wonder how you guys do it, just curious :)

Re: Best way to update repository items?

Posted: Tue Sep 24, 2013 2:22 pm
by krstcs
There are many ways to do it. I would say it's mainly what you feel comfortable with.

Depending on how much change there is, I might do a couple things:

1. Track the new element and rename the existing and new elements as needed (what you are doing, usually best for larger changes).
2. Re-work the existing element's RanoreXPath (especially if there are only a few objects needing changes, or the path did not change significantly).