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

Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


what is the difference between an Action and a function in real time

4 Answers  


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

0 Answers  


pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example

6 Answers   Ordain Solutions,


i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?

2 Answers   Fiserv,






CAN WE USE 'BVA' AND 'ECP' IN AUTOMATION?

3 Answers   Polaris,


How does quicktest professional identifies the object in the application?

0 Answers  


How to use reporter.report event in qtp ?

0 Answers  


How do we run the scripts in QTP ?? what are the three options....

4 Answers   HCL,


what is difference between analog and low level recording

2 Answers   Intel,


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

0 Answers   TCS,


what is reusable action and how the same can be implemented (process)?

2 Answers  


Categories