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
what is supply chain management?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
What is checkpoints for quicktest professional?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
Explain the qtp test phases.
How can you give wait up to 10 seconds in qtp?
what is review
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
How to handle the exceptions using the recovery scenario manager in qtp?
Hi ,Can any one pleas explain how to test splash objects using QTP?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How to test results for qtp ?
Mention the different actions types of qtp.
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is keyword view?