| || |
RepositoriesCollection.Add throws error
I am using QTP 9.1, as suggested in several posts. I try to use RepositoriesCollection.Add to associate the shared OR to the test.
But when I ran the script with the following code in QTP, It throws "Object Required" for Repositories Collection.
sRepository = "c:\test.tsr"
Var = RepositoriesCollection.Find(sRepository)
If Var <> 1 Then
Note: When i searched in Help File, I didn't find any info regarding repositoriesCollection.
Re: RepositoriesCollection.Add throws error
RepositoriesCollection was added in QTP9.2. You need to upgrade your QTP version.