I'm writing a QTP framework.
For this framework I need to have several repositories available at the same time.
I tried to accomplish this with below code. However, just the first path of a tsr file works, the second not. what is wrong?

'RepositoryPathArr contains paths of TSRs.

'my code:
<font color="purple">
For i = 0 to maxArr
RepositoriesCollection.Add RepositoryPathArr(i)

In the programming thereafter I can use the first tsr, but not the second one.

I hope someone has some idea!!!