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 / purni
In the expert view script will describe the action we
perform. To perform that action it should have that
particular object in the object repository. So before
scripting in the expert view what u should do is go to
active screen and highlight the object and right click and
select view/add to object repository. In the object
repository property window it will show its logical name
and class highlighted and click ok. This will add object to
the object repository.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How is UFT 11.5 version different from UFT 12.0?
In qtp, how you can exit for loop?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
How do Parameterization and Data-Driving relate to each other in QTP?
Explain different types of action in qtp?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is the new version of qtp which is recently released in the market?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
What are the different attributes used with regular expression?
Explain the qtp test phases.
Have you used xml check point in your project? How?
How do I get the QTP scripts result in xml format by using vb script function?
What are the 3 main stages involved in testing with qtp?
How many ways we can parameterize data in quicktest professional (qtp)?
Suppose I want fail that check point? How can you do that?