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 |
Explain the difference between call to action and copy action?
How to use debug tools?
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?
how you will do cookie testing using QTP?
types of output value in details.
write code to read and write data from file?
How to do Laod testing for web based Application?
What is Object Spy?
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..
Explain the checkpoint in qtp?
How many ways to configure the application in QTP,Explain
With what extension you can save the list of tests in a file to run in test batch runner?