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?
Answers were Sorted based on User's Feedback
Answer / nilanjan islam
Set objnew = CreateObject("QuickTest.Application")
objnew.Test.Settings.Resources.ObjectrepositoryPath =Object
repositorypath
Set objnew= Nothing
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sree
Hi,
dim app
set app=createobject("quicktest.application")
app.test.settings.resources=objrepositorypath
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / priya
Hi,
you can load Object repository by using this code.
Dim app
set app.test.settings.resources=objectrepository path
here specify the path of OR .
| Is This Answer Correct ? | 0 Yes | 3 No |
Write a command for setvalue function in a webedit
Read excel using qtp descriptive programing
Can we Script any test case with out having Object repository? or Using Object Repository is a must
How to capture the text from the application using QTP?
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?
object types is used for what?
3. How to handle the exceptions using recovery secnario manager in Qtp?
Can you write a script to check if the folder exists or not?
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions