ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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
 Question Submitted By :: Ss
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
For QTP,Object Repository is just like a  Brain of Human.
It acts as a memory for QTP.
so if memory is empty means it can do any thing.

So If QTP has to test on any object means ,those objects 
should be identified by QTP & Should get stored in Object 
Repository.

If u record any Operation on any objects of 
appl,automatically script  will be generated Parallelly 
objects also will be stored in Object Repository.

One way is there in which we can write the script directly 
without having Objects in Object Repository & run the 
script --- i.e Descriptive Programming.
 
Is This Answer Correct ?    0 Yes 0 No
Sreekanth
 
  Re: 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
# 2
Hi sreekanth,

     hear object repository is not empty,even though if we 
took new test what ever objects r object repository will 
not remove until unless u could not deleted.

    i think when the script in run time the application is 
in disable condistion, when the application calls in run 
time test will run sucessfuly.
 
Is This Answer Correct ?    0 Yes 0 No
Chandana
 
 
 
  Re: 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
# 3
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 ?    1 Yes 0 No
Arunsingh
 
  Re: 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
# 4
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
Purni
 
  Re: 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
# 5
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 ?    2 Yes 0 No
Ganesh Kumar
 
  Re: 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
# 6
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 0 No
Baji Prasad Ch
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the difference between Normal mode and Fast mode ? AZTEC1
4. How u will open the build automatically in QTP except using Systemutil.run command  3
I installed QTP 9.5 on vista. Can someone please provide me the license key of the same. Thanks, Avi  2
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?  4
what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana) TCS3
can anyone please send me qtp framework material please its urgent  1
Have you performed Debugging and how did you?  2
how can you describe the basic flow of automation with conditional and programmatic logic? Ordain-Solutions1
what is Function Definition Generator? can any one explain me in details? Accenture6
Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas. IBM3
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ? Covansys2
Do you have any knowledge about Business Processing Testing in QTP Appulse1
can onyone tell me how to comapre the output of two different Data Bases in QTP?  1
What is the difference between Call to Action and Copy Action.?  2
During test run,How will you copy/paste from/to clipboard?  2
What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example  2
what is a file system object in QTP  3
what is exact difference between smoke and sanity testing? Satyam6
Can anybody give the script to addsheet, add column,add values under that column in the rows?  2
How did u write macros?What is the main importance of VB macros in testing environment?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com