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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
How to load object properties to object repository through
scripting.give one example
 Question Submitted By :: Er.jayanta
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 1
Goto Object Repository Manager and select any object which 
will show an panel at right side with object properties.If 
you will click on "+" symbol, it will show more properties.
 
Is This Answer Correct ?    0 Yes 8 No
Pradeep
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 2
Use the Automation Object Model to specify the path to a
Shared Object Repository:
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Test.Settings.Resources.ObjectRepositoryPath = ""

http://hpsqtp.blogspot.com/2008/08/how-to-programmatically-load-shared.html
 
Is This Answer Correct ?    2 Yes 6 No
Uday Kumar _anem
 
 
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 3
repositoriescollection.add (payh of the object repository.tsr)
 
Is This Answer Correct ?    2 Yes 3 No
Vamsi
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 4
Who mark the Vamsi answer as wrong. If u dont know the
answer just keep quite. It is Perfect answer. Remaining
answers are not correct.

This concept wil be called as dynamic handling of OR.

Here we can add the repositories in runtime through script.
And we can remove OR at runtime. 

If any doubts mail me 

mskalyan.smile@gmail.com
 
Is This Answer Correct ?    2 Yes 0 No
Kalyan
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 5
The following is the code:

Set qtApp = CreateObject("QuickTest.Application")

Set qtRepositories =
qtApp.Test.Actions("Action1").ObjectRepositories

qtRepositories.Add "<path of the object repository>"
 
Is This Answer Correct ?    2 Yes 0 No
Uday
 
  Re: How to load object properties to object repository through scripting.give one example
Answer
# 6
Vamsi and Udaya script is ok with QTP 9.2, but Udaya kumar 
scripts wrk with 8.2
 
Is This Answer Correct ?    0 Yes 0 No
Acm
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
in a database table there are 3 columns (name , marks,grade) , in application after retrieving data from db to fields name, marks click ok button then grade should displayed ---for this how to write vb script prgm IBM3
what is the purpose of .vbs file? HCL2
how to parameterise a test with data base table or excel sheet? FCG1
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position Covansys3
In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP. BirlaSoft2
What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly. Livetek2
does qtp need record and playback in realtime. plz tell exactly wat happens HP3
What is keyword view and Expert view in QTP? Ordain-Solutions5
how you have used object libraries? plzzzzz do answer  1
what is the diff between Procedure and function iFlex3
How to get data line by line from web element  1
What exactly is the difference among all the three recording modes. Accenture5
How to Test the mainframe application?(tell me few basic things) Covansys1
How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help Sinertel5
How to Set the Global Sync Timeouts in QTP?  1
what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.  1
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.  2
What is a Run-Time Data Table? Where can I find and view this table?  3
how to write regular expression for Date field? Google7
how do pass parameters from one action to another action  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