Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



If we write a script in the expert view how are the objects created in the object repository? to..

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

If we write a script in the expert view how are the objects created in the object repository? to..

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

If we write a script in the expert view how are the objects created in the object repository? to..

Answer / sreekanth

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 ?    2 Yes 0 No

If we write a script in the expert view how are the objects created in the object repository? to..

Answer / chandana

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

If we write a script in the expert view how are the objects created in the object repository? to..

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

If we write a script in the expert view how are the objects created in the object repository? to..

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

More QTP Interview Questions

Hi, Am trying to download QTP 8.2 version.its not supporting Windows Vista.Can you please help me out from this.Which QTP version supports this. Thanks in Advance.

2 Answers  


can u write one user defined function for webedit class.

6 Answers   Cap Gemini,


How to check feasibility of the appliction?in automation testing?

0 Answers   CTS,


Describe function procedure in vbscript.

0 Answers  


What is the use of text output value in quicktest professional (qtp)?

0 Answers  


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

0 Answers   Rogers,


Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.

2 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers   Crea,


can we run the scripts of qtp 8.2 in the qtp7.0?

2 Answers  


To which environments does quicktest professional (qtp) supports?

0 Answers  


what are the drawbacks for record and payback in qtp

3 Answers  


Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


Categories