How to load object properties to object repository through
scripting.give one example

Answers were Sorted based on User's Feedback



How to load object properties to object repository through scripting.give one example..

Answer / vamsi

repositoriescollection.add (payh of the object repository.tsr)

Is This Answer Correct ?    9 Yes 6 No

How to load object properties to object repository through scripting.give one example..

Answer / uday

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

How to load object properties to object repository through scripting.give one example..

Answer / acm

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

How to load object properties to object repository through scripting.give one example..

Answer / ramchandra patil

Hi Kalyan n All-

yours, vamsi's and Uday kumars ans is correct...
uday kumar gave answer is correct he is using AOM...you can try


guys let me know if I am wrong with valid reason and answer.


Thanks,


Ramchandra
9699851282

Is This Answer Correct ?    0 Yes 0 No

How to load object properties to object repository through scripting.give one example..

Answer / kalyan

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 ?    3 Yes 4 No

How to load object properties to object repository through scripting.give one example..

Answer / uday kumar _anem

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

How to load object properties to object repository through scripting.give one example..

Answer / pradeep

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 11 No

Post New Answer

More QTP Interview Questions

Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.

2 Answers   Wipro,


What is object identification?

8 Answers   Wipro,


what are the limitations of smart identification in qtp 9.0

0 Answers  


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

0 Answers  


How can i select multiple items from a WebList bOX USING QTP

3 Answers   DuPont, Syntel,






write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


Tell when we call the function? tell with example.

1 Answers  


What are the recording modes and executing modes avialble in QTP?

3 Answers   Polaris,


I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....

3 Answers   Wipro,


How QTP recognizes Objects in AUT?

1 Answers   Crea,


What is descriptive.create () in QTP?

3 Answers  


How can you delete the results file (XML)

2 Answers  


Categories