Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code to associate files of QTP
#2
(06-21-2012, 09:52 PM)chaithanya84 Wrote: Hi,

Please help me on this,

is there any code, that associate library, config and repository files to QTP script. So that it reduces manual effort by opening each and very script and associate files.

since if we have 500 scripts, it takes more time to do it manually.

Thanks,
Chaithanya


Hi,
Please find the below code to associate OR to ur script.Use it as reference to associate library and config file.

strRepPath = "c:\vIns\OR.tsr" (path of OR)
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)


Regards,
Sankalp
Reply


Messages In This Thread
Code to associate files of QTP - by chaithanya84 - 06-21-2012, 09:52 PM
RE: Code to associate files of QTP - by sshukla12 - 06-22-2012, 10:36 AM
RE: Code to associate files of QTP - by sshukla12 - 06-22-2012, 11:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to run multiple data files (.xls) using one QTP test script in HP ALM 11? jsun01 4 6,695 03-04-2013, 02:08 AM
Last Post: jsun01

Forum Jump:


Users browsing this thread: 2 Guest(s)