How to load the object repository at run time?
Answer Posted / sarath
Tried with QTP 9.1 and it works....
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
'Add
qtApp.Test.Actions(1).ObjectRepositories.Add "C:\ObjRep.tsr"
'Remove
qtApp.Test.Actions(1).ObjectRepositories.Removeall
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Discuss quicktest professional (qtp) environment?
How many types of status are there?
What is the extension of qtp local repository?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
Explain the types of object repository?
How do Parameterization and Data-Driving relate to each other in QTP?
how will you check how many members visited the website www.infosys.com?
Where we can use the analog mode and where we can use the low – level mode?
What is the use of sendkeys and what are send keys
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Get the count of files of similar types from a folder.
Object repositories types, which and when to use?
What is the Command used to start the QTP
How to start recording using quicktest professional (qtp)?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me