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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
for a test in QTP i had choose the object repository as
shared.after completion of some days i want to conduct the
same test again,now the question is HOW TO LOAD THE OBJECT
REPOSITORY. is it possible by descriptive programming.could
any one tell me how many ways we load it and what is the
process?
 Question Submitted By :: Subhan.qa
I also faced this Question!!     Rank Answer Posted By  
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 1
Hi,
 you can load Object repository by using this code.
 Dim app
 set app.test.settings.resources=objectrepository path
 here specify the path of OR .
 
Is This Answer Correct ?    0 Yes 2 No
Priya
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 2
Set  objnew = CreateObject("QuickTest.Application")
objnew.Test.Settings.Resources.ObjectrepositoryPath =Object 
repositorypath
Set objnew= Nothing
 
Is This Answer Correct ?    0 Yes 1 No
Nilanjan Islam
 
 
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 3
Hi,
 
 dim app
 set app=createobject("quicktest.application")
  app.test.settings.resources=objrepositorypath
 
Is This Answer Correct ?    0 Yes 2 No
Sree
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 4
Hi,
 use this code
Call LoadRepository("repository path")
 
Is This Answer Correct ?    0 Yes 1 No
Shankar
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 5
Hello Everybody,

I am not able to open the object repository using this 
syntax, I am getting error "Type mismatch".

please provide me an example by taking any path of the 
object repository.

Thanks in advance,
Gaytri
 
Is This Answer Correct ?    0 Yes 0 No
Gaytri
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 6
Hi Gaytri,

This code is perfact--

1. Recodr the Loging scenario of Flight Reservation 
2. Save the OR in a place 
3 Then Delete the OR
 The write the code
Set  objnew = CreateObject("QuickTest.Application")
objnew.Test.Settings.Resources.ObjectrepositoryPath 
="D:\Documents and Settings\bimanr\My 
Documents\Bim_QTP\Test-OR-withshared.tsr"
Set objnew= Nothing


SystemUtil.Run "D:\Program Files\Mercury 
Interactive\QuickTest 
Professional\samples\flight\app\flight4a.exe","","D:\Program
 Files\Mercury Interactive\QuickTest 
Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "biman"
Dialog("Login").WinEdit
("Password:").SetSecure "4694dfafd6fdee359968e66ecfe222e271e
5a424"
Dialog("Login").WinButton("OK").Click
 
Is This Answer Correct ?    0 Yes 0 No
Biman Roy
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 7
nice answers 
god bless u guys
 
Is This Answer Correct ?    0 Yes 1 No
Basha
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 8
Hello Biman,

I tried to execute the same steps as per mentioned by you 
in QTP 9.2 , but on executing I got the error "Object Does 
Not support thir property or method" at this line 
objnew.Test.Settings.Resources.ObjectrepositoryPath 
="D:\Documents and Settings\bimanr\My 
Documents\Bim_QTP\Test-OR-withshared.tsr"

SO kindly let me know where exactly the problem is in my 
code.
 
Is This Answer Correct ?    0 Yes 0 No
Gaytri
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 9
Dim qtApp 'As Application
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories =
qtApp.Test.Actions("Action1").ObjectRepositories 

qtRepositories.Add "C:\Documents and
Settings\n\Desktop\arun.tsr", 1

it will work 101%  :)
 
Is This Answer Correct ?    2 Yes 0 No
Capriguy
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 10
Guys...if u r using 9.2 or Above...

repositoriescollection.Add <"Repositoy path\rep.tsr">

    check this. it will load specified Object Repository 
during run time.

If any queries...

nanda.dreddy@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 11
Hi,

you can give a try to the following code...

Set RepObj=CreateObject(Mercury.ObjectRepositoryUtil)

RepObj.Load "C:\Rep1.tsr"
 
Is This Answer Correct ?    0 Yes 0 No
Priyanka
 
  Re: for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
Answer
# 12
we can use repositoriescollection.add "pathof the rep.tsr"

I am sure it will work.

Any doubts mail to-----------------

mskalyan.smile@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Kalyan
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage? IBM5
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take? ADP1
regular expression Wipro2
Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.  7
we have 10 automation scripts. how to call them from one main script.  2
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.  1
can somebody send the script to write a multiplication table in notepad through qtp AppLabs2
How to count the no of objects in XML file(QTP)  1
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines. TCS4
How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row. Virtusa3
i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know  1
If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?  3
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)  1
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test TCS2
I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?  9
What is the concept of firewalls? CTS2
What is Parameterizing Tests?  2
what is the test process followed for your project? Satyam1
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance... IBM2
How to execute the test cases using QTP. i.e What is the use of QTP while execution  2
 
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