Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Object Repository File Path for ExternalActions
#1
Not Solved
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!
Reply
#2
Not Solved
If you know the path load the files dynamically using the below statement

Code:
RepositoriesCollection.Add <repository path>
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 6,488 03-25-2021, 08:27 AM
Last Post: RB26578
  How to export the output value of a webedit object to a new excel file. mounika6677 1 1,313 04-14-2019, 05:18 PM
Last Post: mounika6677
  how to get relative path by using testdir environment variable Sathyaprasad 1 1,765 11-30-2017, 02:21 AM
Last Post: supputuri
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,480 11-22-2016, 12:43 PM
Last Post: Ankur
  Do we need object repository?? subhashinid 0 1,846 07-06-2016, 10:07 AM
Last Post: subhashinid

Forum Jump:


Users browsing this thread: 1 Guest(s)