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

Explain the difference between call to action and copy action?

0 Answers  


How to use debug tools?

0 Answers  


Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?

1 Answers  


how you will do cookie testing using QTP?

2 Answers  


types of output value in details.

4 Answers  


write code to read and write data from file?

1 Answers   IBM,


How to do Laod testing for web based Application?

1 Answers  


What is Object Spy?

8 Answers  


How can we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..

2 Answers  


Explain the checkpoint in qtp?

0 Answers  


How many ways to configure the application in QTP,Explain

2 Answers   CTS,


With what extension you can save the list of tests in a file to run in test batch runner?

0 Answers  


Categories