GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 160 of 676    Print  
what is the function for loading a repository in QTP

  
Total Answers and Comments: 3 Last Update: March 24, 2006     Asked by: Tulasiram 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 17, 2006 01:16:04   #1  
madhava Member Since: December 2005   Contribution: 5    

RE: what is the function for loading a repository in ...
No function is available in QTP to load Object repository. when you open test ,associated Repository will be loaded automatically.
 
Is this answer useful? Yes | No
March 19, 2006 23:10:58   #2  
Thulasi ram        

RE: what is the function for loading a repository in ...

But you have a function in win runner to load a gui file like "gui_load".


 
Is this answer useful? Yes | No
March 24, 2006 04:54:11   #3  
Konka Ravi Krishna        

RE: what is the function for loading a repository in ...

hi,

You have button called SetAsDefault in Test > Settings > Resources. Create the shared repository and click on the button when ever you open new script it will load shared repository automatically. If you want to load dynamically means just copy paste this code and pass the path of your .tsr file.

******************************************************
testsai("C:\Documents and Settings\125301\Desktop\Default.tsr")
 
Dim a
Function testsai(a)
 Dim App 'As Application
 Set App = CreateObject("QuickTest.Application")
 App.Test.Settings.Resources.ObjectRepositoryPath = a
End Function

******************************************************

Regards,
Ravi Konka


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape