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 / ganesh kumar
Hi,
When u Record ur test in QTP. The Objects are stored in
the repository as Pre-action mode.So first u have to save
the repository as shared Repository in a common location.
Then when u copy the script and paste in the new test. u
have to associate the shared repository into that test.
Then ur script refer the objects from the shared repository.
To share ur local(peraction) repository go to resourse menu
in the menu tab and click the object repository menu. ther
u can find the export the Local menu. once u click the
menu. the tool will ask for saving the repo in the common
location.
Pls mail me if u have any queries.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is parameter in qtp?
How to check bitmap output value?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How u will do versioning in QTP?
How will you find the current time of the remote machine using QTP script?
What is Associate Repository in QTP 9.2 ?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
What is checkpoints for qtp?
banking domain description for software tester for interview
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
what is the difference between development and testing
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What is the short cut keys for the following?
What is a Patch in QTP?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...