Micro Focus QTP (UFT) Forums

Full Version: Change Object Repository File Path for ExternalActions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have been assigned the task to fix up a QTP setup done by an external company. There's a GUI test which has about 180+ External Actions each with associated repository .tsr files. The location of these .tsr files has been moved into a Git Branch and so I need to update each of the External Actions .tsrs to point to their new location on the file system.

Currently, I am getting 6 errors in the console saying "Missing Object Repository T354_Filter.tsr" etc as they are still referencing a path which no longer exists.

What's the best way to update the .tsr on the 180+ External Actions to point to their new location on the file system?

Thanks

Moderator Note: If you're new to git, learn git from scratch for free!
If you know the path load the files dynamically using the below statement

Code:
RepositoriesCollection.Add <repository path>