04-28-2011, 07:18 AM
Try this ma'am
Code:
strRepPath = "P:\QTP Tests\ObjectRepository\RepositoryCTE.tsr"
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)