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


Please Help Members By Posting Answers For Below Questions

How is UFT 11.5 version different from UFT 12.0?

613


In qtp, how you can exit for loop?

529


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?.

1524


How do Parameterization and Data-Driving relate to each other in QTP?

560


Explain different types of action in qtp?

576






1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

991


What is the new version of qtp which is recently released in the market?

644


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?

2740


What are the different attributes used with regular expression?

555


Explain the qtp test phases.

619


Have you used xml check point in your project? How?

551


How do I get the QTP scripts result in xml format by using vb script function?

1788


What are the 3 main stages involved in testing with qtp?

562


How many ways we can parameterize data in quicktest professional (qtp)?

586


Suppose I want fail that check point? How can you do that?

601