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

Do you support automated testing? Why?

0 Answers  


How to give Table check points?

4 Answers   ssinformatics,


How to Analyze the Checpoint results by Standard Checpoint?

1 Answers  


what is the Debug view?

1 Answers  


For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  






Hi my name is mohan. I am working as a manual tester.. And now i want learn QTP.. is there any online websites to learn QTP for free if u know any plz help me out..,.or send mail to k.mohann.mohan@gmail.com

3 Answers   Wipro,


what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.

11 Answers   Infosys, Intel,


how can i count the number of links???

2 Answers  


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?

1 Answers  


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  


What is dynamic arrays

1 Answers   Patni,


Categories