for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
Answer Posted / capriguy
Dim qtApp 'As Application
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories =
qtApp.Test.Actions("Action1").ObjectRepositories
qtRepositories.Add "C:\Documents and
Settings\n\Desktop\arun.tsr", 1
it will work 101% :)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
Differences between text and test area checkpoints?
Explain different recording modes?
How many number of actions possible in qtp?
How to get popup error message.
What is the virtual object?
How to test results for qtp ?
What does mean by Scope of Automation?n How we defined it?
What are the advantages of a Hybrid framework?
Explain the difference between check point and output value?
Without using gui map editor we can recognize the application in winrunner ?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??