Issues with QTP10 not recognizing items added to the Repository
Question ID: 104092
0
0

I am using QTP10 and when I add new objects to the repository, my scripts will not recognize them until I either quit QTP and relaunch or disassociate the repository and reassociate it to the script. (Yes, I am saving the Repository after adding objects.) Has anyone else seen this or have any suggestions for why this is happening?

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on April 14, 2010 2:58 pm
97 views
Answers (3)
0
Private answer

This could be a problem with your QTP Registry or something else. Is this isolated to one one machine?

Recommend running repair on QTP if that does not work try booting in safe mode to see if it might be related to Anti Virus tool.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on April 15, 2010 1:59 pm
0
It has occurred since we updated to QC/QTP 10. We received no errors when updating. It is happening across all of our projects and development servers. IMO it is related to the fact that QC is not releasing user sessions called by QTP test user. Although I do not think this is the issue, can you enlighten me on how to perform a repair to QTP? Is that part of the installer/updater? These are virtual machines so I am not able to boot into Safe Mode and turning of virus scan is not a workable option.
( at April 15, 2010 4:55 pm)
0
Go to the Control Panel and select the change button on QTP. A wizard will appear which will allow you to select repair. I boot my Virtual image in Safe Mode by either pressing F8 during Startup or doing the following. 1. Go to Start button >Run 2. type Msconfig 3. 'System Configuration Utility' window will appear. 4. Go to the 'boot.ini' tab 5. Place a check next to '/SAFEBOOT' 6. Press the 'OK' button. 7. Reboot and you should be in safe mode 8. repeat above steps and deselect '/SAFEBOOT' to return to normal mode.
( at April 16, 2010 12:57 pm)
0
Private answer

I have experienced this also. I found that I don't actually have to exit QTP. After I add objects to the repository (in my case, it is the Shared OR), then I make sure the test script has been saved in QTP. Save and close the Shared OR. The open the script again in QTP (without closing it first). You will get a message asking if you want to revert to the saved copy? Answer Yes. Since you just saved it, you won't lose anything. But this seems to reconnect the script with the newly added objects.

Marked as spam
Posted by (Questions: 0, Answers: 4)
Answered on November 17, 2010 6:40 pm
0
Private answer

Another thought you could have a problem with .NET Security configurations. Check out this link from microsoft ''How to: Grant Permissions to Folders and Assemblies which helped me to set security.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on July 12, 2010 4:09 pm
EyeOnTesting

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

X
Scroll to Top