How to load the object repository at run time?
Answer Posted / sandeep.v
Dim qtApp
Dim qtRepositories
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories = qtApp.Test.Actions
("ActionName").ObjectRepositories
qtRepositories.Add "E:\Sandeep_Documents\Sandeep_Working\sha
redRepository.tsr"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the significance of “action 0” in qtp?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
What is Test Fusion Report in QTP?
Explain the concept of object repository and how QTP recognizes objects?
How to record a qtp script ?
Can any suggest me what is exposure testing?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What is the use of Debug Viewer?
What is qtpro? What is quick test pro?
How to get Traceability matrix from TD?
How to use transactions in 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
what is run-time data?
How to create runtime property for an object?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance