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 / arunsingh

After pasting the script in new test, just load the object
repository of that script into new test. Then Run.

For loading the OR into new test,
First you have to save the OR in previous test.
Then In new test goto test-settings-ResourceTab-select
Shared radio button and browse the OR(Previously saved)and
select set as defauly-apply-OK..


You will get the results.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Analyzing the checpoint results?

808


What is standalone database?

2009


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

783


What are the different recording modes?

767


What are test settings and global settings?

824


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2142


what function you write to do database testing with the help of qtp?

1606


How is UFT 11.5 version different from UFT 12.0?

822


How can I import environment from a file on disk?

776


Define object spy ?

774


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1592


Output values? i want a practical example

1537


What are metrics and matrix?

1565


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1995


How to export quicktest professional results to an .xls file?

849