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
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
How can you send user defined messages to test report?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
What is RTM (require ment tracebulity marix) fromate?
How you will rate urself in QTP in the range of 0 to 5
Can I change properties of a test object?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
Where you are storing your script?
In qtp is it possible to check broken links of a page?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
What is the use of sendkeys and what are send keys
Give the syntax to load function at run time.
QTP script is not working on other's machine..
How to handle Java tree in QTP?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B