How to load a object repository(using VBScript) ... very
urgent....

Answers were Sorted based on User's Feedback



How to load a object repository(using VBScript) ... very urgent......

Answer / naag

Adding Object Repository Dinamically:-
U can Follow the Obove Answer(by creating a Quick Test
object and accessing)OR
Simply Write the script As Follows
RepositoriesCollection.Add "The Path of the Repositoryfile"

The Repository file will be added at runtime.

Is This Answer Correct ?    7 Yes 0 No

How to load a object repository(using VBScript) ... very urgent......

Answer / kalyan

using

RepositoriesCollection.Add "The Path of the
Repositoryfile.tsr"

if u want to remove RepositoriesCollection.remove

if u want to remove all repositories-
RepositoriesCollection.removeall

any doubts mail 2 mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 0 No

How to load a object repository(using VBScript) ... very urgent......

Answer / sushil

Dim app
Set app =CreateObject("QuickTest.application")
app.test.settings.resources.ObjectRepositoryPath
= "C:\Documents and Settings\\aa.tsr"

Is This Answer Correct ?    2 Yes 4 No

How to load a object repository(using VBScript) ... very urgent......

Answer / venkat

Venkat,

This will work only for 8.2 ,it will not work 9.0 onwords.


Thanks

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   TCS, Wipro,


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


what is difference betweem class annd object?

1 Answers  


How do you invoke any application and write a script to invoke QTP using VB Script.

2 Answers   HealthAsyst,


In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?

1 Answers  






Write a script to delete the a specific row (say 3rd) in a webtable.

0 Answers  


How to create an Action Template?

1 Answers  


can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???

3 Answers  


please send detail navigation for merging of object ripositories in QTP 8.2

3 Answers   Infosys, Ordain Solutions,


What is Parameterizing Tests?

1 Answers   Crea,


Qtp Automation Engineer , Can he login in VSS? What purpose he login In VSS? But Some companys are using CVS AND VSS ? some are Have log in in VSS Some Not login(not accessing) into VSS, not login persons are working on CVS? my doubt is, can Qtp automation engineer have loin in VSS or not? Where he store QTp Script?

3 Answers   CTC,


what are SetToProperty, SetROProperty,GetToproperty scripting?

2 Answers  


Categories