Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add multiple Object repositories at run time
#2
Solved: 11 Years, 4 Months ago
Pass the multiple repositories name like "login.tsr|logout.tsr". Use Split and then use a for loop like:
Code:
repName = Split("login.tsr|logout.tsr", "|")

RepositoriesCollection.RemoveAll()

For intItemCnt = 0 To UBound(repName)

   repPath=strBinPath & "\" & repName(intItemCnt)

   RepositoriesCollection.Add(repPath)

Next
Reply


Messages In This Thread
RE: How to add multiple Object repositories at run time - by guin.anirban - 08-13-2010, 11:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,686 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Object identification is taking too much time JACKSPARROW 0 1,701 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  QTP not recogonising object during run time Lavanya N 2 3,727 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 12,175 08-27-2015, 10:18 AM
Last Post: supputuri
  How to add all objects manually in object repository rajaselvan.d 2 12,681 10-10-2014, 05:08 PM
Last Post: nivedita

Forum Jump:


Users browsing this thread: 4 Guest(s)