11-11-2011, 04:34 PM
i tried to add OR to test via scripting it is not coming in the test
|
how to add object repositories to qtp through scripting
|
|
11-11-2011, 04:34 PM
i tried to add OR to test via scripting it is not coming in the test
11-11-2011, 05:33 PM
Code: Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Test.Actions(1).ObjectRepositories.Add "C:\Repository1.tsr"
11-11-2011, 07:51 PM
Hi,
Plz include below statements in ur QTP test. Code: strRepPath = "c:\vIns\OR.tsr" (path of OR)
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(strRepPath)
11-18-2011, 08:25 AM
thanks for your reply
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
|
|
Browser Independent Scripting in QTP 9.1 | Deepak | 5 | 6,881 |
02-14-2012, 04:59 PM Last Post: shivu.impu |
| sharing objects of Object Repositories | satyapani | 1 | 3,026 |
08-29-2011, 10:46 PM Last Post: Arul |
|