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
Explain the concept of object repository and how quicktest professional recognises objects?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Can we run test with out adding object in object repository? How it is possible?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What is the qtp testing process?
What is the syntax for how to call one script from another?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
What is the Difference between copy to action and call to action?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Is the qtp course will help to create a virtual object?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
unique properties of button,edit box, radio button,check box?
What is method name to compare two XML files.