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 |
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated
How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)
How did u write macros?What is the main importance of VB macros in testing environment?
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
i need the licence key for QTP V9.5 can anyone help me on getting this?
Explain script generated after applying database check point?
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable
Explain about Checking Bitmaps?