How to load object properties to object repository through
scripting.give one example
Answers were Sorted based on User's Feedback
Answer / vamsi
repositoriescollection.add (payh of the object repository.tsr)
Is This Answer Correct ? | 9 Yes | 6 No |
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 |
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 |
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 |
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 |
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 |
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 |
how we connect oracle or sql data server database to qtp
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)
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
how to explain a claims and insurance project?
How do Parameterization and Data-Driving relate to each other in QTP?
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
How to check which add-ins are associated with a test in qtp?
How to test results for qtp ?
What is deference between normal QTP testing and descriptive programming?
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
Types of properties that Quick Test learns while recording?