Sunday, 24 January 2016

QTP - 36 - Version control with QTP !

Version control is used to trace, manage and control the history of each software change. It includes all the changes like what was done, who did it and also the reasons. It lets you to track the changes in the scripts over a period of time. We can also look back and see that what changes were done at a particular period of time and who did it. We can also revert our scripts to the older versions if needed. It allows three main things in the software that is  reversibility , concurrency and annotation. So lets talk about version control in QTP.

Reversibility -  the ability to back up to a saved, known-good state when you discover that some modification you did was a mistake or a bad idea

Concurrency- the ability to have many people modifying the same collection of code or documents knowing that conflicting modifications can be detected and resolved.

Annotation means  attaching explanatory comments about the intention behind each change to it and a record of who was responsible for each change.

For version control with QTP we need to have licenced tool QC or ALM. We need to integrate the ALM with the QTP. Once the version control is configured then all your ALM assets (including resources) cannot be modified anymore without checking them out. Each time we need to check out and make our changes and check back in to view our changes.
QTP recognizes the version control being enabled, and behaves accordingly (requires (and supports) checkout before modify, and so on).

Note : Always the latest version of Asset is checked out to a user

No comments:

Post a Comment