Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Discuss quicktest professional (qtp) environment?

1010


How many types of status are there?

1043


What is the extension of qtp local repository?

1014


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1782


Explain the types of object repository?

984


How do Parameterization and Data-Driving relate to each other in QTP?

1056


how will you check how many members visited the website www.infosys.com?

1913


Where we can use the analog mode and where we can use the low – level mode?

988


What is the use of sendkeys and what are send keys

2479


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

1071


Get the count of files of similar types from a folder.

1485


Object repositories types, which and when to use?

1071


What is the Command used to start the QTP

1949


How to start recording using quicktest professional (qtp)?

1094


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

2931