Repository items disappear whilst developing scripts

Ask general questions here.
Henry
Posts: 5
Joined: Thu May 14, 2015 9:29 am

Repository items disappear whilst developing scripts

Post by Henry » Thu May 14, 2015 9:38 am

I have the latest Ranorex suite installed, as well as a valid license.
I have created a solution which interacts with a web application.
The script references a number of objects contained within drop-down menus, etc.
These objects are referenced within my ranorex repository.

Everything works fine. It builds successfully and script runs to completion.

However, every so often whilst developing new test cases within same solution, a build error occurs.
On looking at the individual errors for this, numerous repository items can no longer be found.

Before going any further I have to manually re-add these items.

This is happening more and more often and I'm not sure why.

Has anyone else come across this issue, and is there a solution?

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Repository items disappear whilst developing scripts

Post by krstcs » Thu May 14, 2015 6:14 pm

First, please include the actual Ranorex version number you are using, because "latest version" changes often and makes your post ambiguous.

Second, are you opening the solution from a shared drive, or is someone else opening it from a share on your computer? Is anyone else using the same copy as you? You should not be opening Ranorex solutions from shared resources (drives, server shares, etc.). You should be using a software version control system like SVN or GitHub.

Are you using multiple repositories?

What is the EXACT build error you get when this happens?
Shortcuts usually aren't...

Henry
Posts: 5
Joined: Thu May 14, 2015 9:29 am

Re: Repository items disappear whilst developing scripts

Post by Henry » Mon Nov 21, 2016 1:51 pm

Apologies in delay in replying.
My first time using forum, and expected emails alerting response.
Perhaps I did and took no notice? Quite some time ago.

Anyway not too sure of version number used at time of writing this original post.

To get around this issue at the time, I divided my work up into separate solutions.

No shared drives were involved.

This issue was specific to 'list' entities.
So list would reference many objects, but sometimes when adding a new item to list, previous list items would vanish from list.

I have not seen this issue for sometime now (perhpas resolved by upgrades, or perhaps I've not been testing similar functionality).
I'll follow this ticket up in near future if i encounter issue again.

Thanks,
Henry