Posts: 3
Threads: 2
Joined: Feb 2013
Reputation:
0
02-03-2013, 08:17 PM
(This post was last modified: 02-03-2013, 08:18 PM by vinod_3466.)
Hi All,
I have created a shared repository merging few Local Repositories.
Now if i change the object name in the shared repository, will the object name in the script change accordingly?
I have associated the shared repository to all the scripts.
Please help me with the procedure to do so if it is possible.
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
02-04-2013, 02:03 PM
Open the shared repository from 'Object Repository Manager'( resources->Object repository manager--open the .tsr file) and then click file->Enable editing to edit the shared repository. Any changes you make here will reflect in all the scripts where ever the repository is associated. yes, When you change the logical name, the change takes place in script accordingly..
Posts: 3
Threads: 2
Joined: Feb 2013
Reputation:
0
02-04-2013, 05:15 PM
Thanks Ravi for your reply.
But the changes get updated only on the script which is open.
It does not get updated on the scripts which are not currently open but the Shared OR is associated to it.
Is there any workaround to achieve the same?
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
06-29-2016, 02:16 PM
Try to run the script in maintenance run mode:
Maintenance Run Mode helps you maintain your Quick Test tests when your Application Under Test (AUT) changes. Maintenance Run Mode runs while QTP/UFT steps through your test. It points out where object recognition has failed, and then it helps you make the necessary changes to your script and Object Repository (O. R.). Maintenance Run Mode is like a magic little friend, or even a wizard helping you make sure your scripts always identify your objects correctly.
Maintenance Run Mode is especially useful when you receive the error message, “Cannot identify the object <<insert your object name here>>”. When you receive this error message, just launch into Maintenance Run Mode (and get those magnets ready!)