Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 object repositories are associated to an action, how to differentiate?
#1
Solved: 11 Years, 4 Months, 2 Weeks ago
Hi All,

Is it possible to associate more than one object repository with a test. then how QTP will differentiate b/w the 2 repositories to call objects from individual ORs.

Thanks,
Reply
#2
Solved: 11 Years, 4 Months, 2 Weeks ago
Yes that is possible, in thast case qtp will use the objects in the local repository.

an exerpt from the post by Ankur
"If an object with the same name is located in both the local object repository and in a shared object repository associated with the same action, the action uses the local object definition"

for more details refer Understanding object repositories in QTP 9.x series

Reply
#3
Solved: 11 Years, 4 Months, 2 Weeks ago
Clear cut and really nice answer.
Thanks and once again thanks for your quick reply.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Handling Object Repositories dynamically inside For Loop danny2012 3 4,128 07-13-2012, 02:00 PM
Last Post: danny2012
  reusable action called inside another reusable action in qtp ritugoyal 0 2,628 05-05-2010, 03:16 PM
Last Post: ritugoyal
  ObjectRepositories Collection Object Vs Repositories Collection Object mvstesting 1 5,263 04-09-2010, 08:24 PM
Last Post: supputuri
  QTP automation object model for mapping external action arivupp 1 3,379 11-13-2008, 11:37 AM
Last Post: arivupp

Forum Jump:


Users browsing this thread: 1 Guest(s)