Behaviour of "Find code references" on repository item
Posted: Wed Nov 23, 2016 12:29 pm
So, I'm trying to do some cleanup of a testsuite. I know some repository items are no longer needed, but the previous person editing the suite didn't remove them from recordings, only commented out (disabled) the steps where they are used.
Here's a catch-22:
Using the "Cleanup" option for Ranorex repository items doesn't find these items (which I think is correct -- things could get messy if the cleanup option would remove repository items in disabled recording steps).
The option "Find code references" --> "All Code References"... only finds such items in the repository, not in all code where they are used in disabled steps.
That makes it quite hard to do a cleanup. Is there any way to find all code references of a repository item, including use in disabled steps of a recording?
Using Ranorex Studio 6.1.1, by the way. (And I seem to recall vaguely that this used to work just fine on 5.4.6, but I can't be sure, we have put 5.4.6 behind us )
Any ideas appreciated. For now, I'm going through recordings based on knowledge of the changes made in our application, finding commented out items that I'm sure are not needed anymore, remove the commented out steps, then use the cleanup to see if I have indeed found all recordings that were ehm... using (in disabled mode) the unused items.
Here's a catch-22:
Using the "Cleanup" option for Ranorex repository items doesn't find these items (which I think is correct -- things could get messy if the cleanup option would remove repository items in disabled recording steps).
The option "Find code references" --> "All Code References"... only finds such items in the repository, not in all code where they are used in disabled steps.
That makes it quite hard to do a cleanup. Is there any way to find all code references of a repository item, including use in disabled steps of a recording?
Using Ranorex Studio 6.1.1, by the way. (And I seem to recall vaguely that this used to work just fine on 5.4.6, but I can't be sure, we have put 5.4.6 behind us )
Any ideas appreciated. For now, I'm going through recordings based on knowledge of the changes made in our application, finding commented out items that I'm sure are not needed anymore, remove the commented out steps, then use the cleanup to see if I have indeed found all recordings that were ehm... using (in disabled mode) the unused items.