How does Version Control operate For ALM/QC Projects
Question ID: 105447
0
0

We had enabled Version Control in our project. While disabling version control, the test data got deleted that were not checked in before version control was turned off.
We were expecting only Version history to be deleted after disabling Version Control.

Is this how it works? What measures should we take to avoid data deletion while working with Version Control? Also, is there any way we can get those data back apart from restoring back the project to a specific date?

Assume, I have enabled Version control in one of my project and then I start making some changes to Requirements/ Tests for say 3 times (Checked Out & Checked In). Now, I will have the versions incremented by 3. Now all the entities are checked in back and then I disable the version control:

1. Will all the changes made to Requirements/ Tests will appear from beginning to last checked in?
2. What will be the value in Version field?
3. Does it deletes only version history or entire history for each entity or only those entity which has been checked out and in?
4. Since it deletes all history, would I be able to figure out the changes made in different version created every time I checked in the entity?

Marked as spam
Posted by (Questions: 22, Answers: 1)
Asked on June 19, 2014 1:20 pm
313 views
Answers (1)
0
Private answer

Hello Wormy,

I hope the following information helps Clear up your questions.

## First Section ##
This is how disabling version control is expected to work. When an item is checked out the updates are stored in the version control tables of the database. If there is not a check in the main object tables are not updated. Therefore when you disable version control the information stored in the version control tables is deleted.

There will not be a way to recover the data lost. Even if you restored a back up of the project the automated tests wont be available. This is because not all of the automated tests are stored in the database the code is stored in the file repository. During a check-out the updates to the code are stored in the TD_80 directory for ALM/QC. The updates aren't uploaded to the ALM/QC file repository until check-in.

----------

## Questions Based on the Posited Scenario ##
1 Will all the changes made to Requirements/ Tests will appear from beginning to last checked in?

> A) This depends on what fields have
> history turned on (some fields do not
> support history). All changes that
> have been made to the requirement/test
> will be saved. Meaning that when
> Version Control is turned off the
> requirement/test will look Identical
> to what was version 3.

2 What will be the value in Version field?

> A) There should no longer be a value
> in the version field. If there is I
> would assume it may say version 3 or
> 1. If version control is enabled again the version should revert to 1.

3 Does it delete only version history or entire history for each entity or only those entity which has been checked out and in?

> A) Only the version history should be
> deleted. The history of the changes
> (based on what fields the history is
> tracked in) should still be available.

4 Since it deletes all history, would I be able to figure out the changes made in different version created every time I checked in the entity?

> A) Disabling version control should
> only delete the versions, it should
> not delete the history which tracks
> changes to fields that have the
> history check box checked, in project
> customization. Again some fields
> cannot have their history tracked.
>

Marked as spam
Posted by (Questions: 1, Answers: 69)
Answered on June 19, 2014 1:31 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top