Micro Focus QTP (UFT) Forums
How to "save" changes to checkpoints in the repository? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to "save" changes to checkpoints in the repository? (/Thread-How-to-save-changes-to-checkpoints-in-the-repository)



How to "save" changes to checkpoints in the repository? - mag7417 - 10-03-2011

Hi!

I am not a complete beginner but sometimes I feel like it. Anyway, I have inherited someone else's test scripts and changes have been made to the GUI.

When I update my Test objects and my checkpoints everything works fine when running the tests.

If I exit the program and then start QTP to run the test again, all my changes are lost.

My changes included new src-information (= new filenames to images) and alt-tags.

Does anyone have an idea how I can "save" the changes I make to the repository? Any (and I mean any) help in the matter would be greatly appreciated.


//Magnus


RE: How to "save" changes to checkpoints in the repository? - Ankesh - 10-05-2011

Jocal repositories are auto save in nature. It will automatically save the changes.

However, u can always save the repository to any location.

Open the Object repository, Goto File->Export to local; and enter the file name. Ur changes will be save in the repository file.

U can then associate the file and use it.

Regards,
Ankesh




RE: How to "save" changes to checkpoints in the repository? - anil2u - 10-05-2011

Hi

Just to add to the above reply, Checkpoints are static and i'm afraid u can't update them unless manually typing in the changed property values by Opening Repository. Its better to add a checkpoint with same name either from active screen or while recording clicking F12.

Regarding to the changes being lost I am curious to know if you are not saving the Test before closing, because, even if you are using a Shared Repository when you update the Object with some changes, a new Local Object is saved which over-rides the Shared Object. You can always delete the Local Object to start using your Old shared object again.

Hope this helps