vIns,
Does the statement "RepositoriesCollection.RemoveAll()" remove the currently loaded OR and "RepositoriesCollection.Add(strRepPath)" adds the one with my OR back in? Great!
I will try hopefully soon. I just am having issues building the OR with Navigate & Learn (F6).
vIns,
I added your code:
but I receive an RunError message box:
The test run cannot continue due to a syntax error.
Expected statement
Line (1):
Does the statement "RepositoriesCollection.RemoveAll()" remove the currently loaded OR and "RepositoriesCollection.Add(strRepPath)" adds the one with my OR back in? Great!
I will try hopefully soon. I just am having issues building the OR with Navigate & Learn (F6).
vIns,
I added your code:
Code:
strRepPath = P:\QTP Tests\ObjectRepository\RepositoryCTE.tsr
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)
The test run cannot continue due to a syntax error.
Expected statement
Line (1):
Code:
"strRepPath = P:\QTP Tests\ObjectRepository\RepositoryCTE.tsr