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 |
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.
What is object identification?
what are the limitations of smart identification in qtp 9.0
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
How can i select multiple items from a WebList bOX USING QTP
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
Tell when we call the function? tell with example.
What are the recording modes and executing modes avialble in QTP?
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....
How QTP recognizes Objects in AUT?
What is descriptive.create () in QTP?
How can you delete the results file (XML)