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 / baji prasad ch
Hi Ss,
First we have to add all the objects of the application to
the objects repository by manually and then only we have to
write the test script and will run.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
images are dynamically changes how to compare two images with out using the bitmap
How to use actions in qtp ?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
How to execute a winrunner script in quicktest professional?
Explain the concept of object repository?
How to define array in qtp?
Explain qtp(quick test professional)?
How does qtp identify gui object?
what is the difference between data driver & data driven and driver script?
What is the extension of the recovery scenario file in qtp?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Is it possible to merge two object repository files in qtp?
what is the difference btn risks & Therads in the Test plan documentation?
How to Test the mainframe application?