If we write a script in the expert view how are the objects
created in the object repository?
to be clear i will explain my problem
first i have recorded the mercurytours application by
providing the link www.mercurytours.com and all the objects
are stored in the object repository ok this is fine. but i
have copied the script generated in the above processes and
pasted in a new test and tried to run that script but as
the objects were not stored in the object repository it
showed an error (The "Welcome: Mercury Tours" object was
not found in the Object Repository.
Check the Object Repository to confirm that the object
exists or to find the correct name for the object).so how
can i overcome that error
Answer Posted / sreekanth
For QTP,Object Repository is just like a Brain of Human.
It acts as a memory for QTP.
so if memory is empty means it can do any thing.
So If QTP has to test on any object means ,those objects
should be identified by QTP & Should get stored in Object
Repository.
If u record any Operation on any objects of
appl,automatically script will be generated Parallelly
objects also will be stored in Object Repository.
One way is there in which we can write the script directly
without having Objects in Object Repository & run the
script --- i.e Descriptive Programming.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
tell me QTP standards ?plz
What are the flaws in water fall model and how to overcome it?
What is data driver in qtp?
What is method name to compare two XML files.
What is difference in global and action sheet in qtp?
Explain the features and benefits of quick test pro(qtp)?
What is Associate Repository in QTP 9.2 ?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
What are the features supported by UFT?
What ate the Technologies supported by QTP?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
what are the utilities and drivers
How many types of actions are there in quicktest professional (qtp)?
What is the qtp testing process?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?