09-23-2009, 09:47 PM
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.
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.