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

how we connect oracle or sql data server database to qtp

3 Answers   Tanla Solutions,


i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)

3 Answers  


WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?

6 Answers   CTS,


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

0 Answers  


how to explain a claims and insurance project?

0 Answers  






How do Parameterization and Data-Driving relate to each other in QTP?

0 Answers  


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

0 Answers  


How to check which add-ins are associated with a test in qtp?

0 Answers  


How to test results for qtp ?

0 Answers  


What is deference between normal QTP testing and descriptive programming?

4 Answers   Polaris,


I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?

6 Answers  


Types of properties that Quick Test learns while recording?

1 Answers   Crea,


Categories