Micro Focus QTP (UFT) Forums
QTP Migration 8.2 to 9.5 - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP Migration 8.2 to 9.5 (/Thread-QTP-Migration-8-2-to-9-5)



QTP Migration 8.2 to 9.5 - elsekra - 09-23-2009

Hello ,
I had started a QTP migration from 8.2 to 9.5.
I converted the script and the repository. But I have one problem : All my test have the repository attached to the Main Action. But when I open a test with QTP 9.5 only reuseble action have the repository and no repository is attached to the Main action .
1-Is it normal ? are there a way to avoid this problem?

I created a scrit to convert all my 500 Test but I need to now how to set the repository to the main action , we can only it to the reuseble action using : App.Test.Actions("Main Action").ObjectRepositories.Add ("C\....tsr") The problem is that the name of my main action change , it's not the same,
2-are there any way to set the repository for the MAIN action?
3-are there any my to get the main action name (not the test name )?

Thx lot.