Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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.

1 Answers   IBM,


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)

0 Answers   LinkEdge,


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)))

0 Answers   HCL,


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

2 Answers   McAfee,


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 :-)

2 Answers  


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


i need the licence key for QTP V9.5 can anyone help me on getting this?

140 Answers  


Explain script generated after applying database check point?

2 Answers  


WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

2 Answers  


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

4 Answers   Livetek,


Explain about Checking Bitmaps?

1 Answers   Crea,


Categories