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

Can we select add ins in UFT during run time

1 Answers   NIIT,


Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this

4 Answers   L&T,


In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


What is Descriptive Programing? In which cases, we will go for descriptive programing?

2 Answers   CTS,


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

0 Answers  


What is Regular Expressions?

2 Answers  


we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position

3 Answers   Covansys,


What the differences are and best practical application of Object Repository?

0 Answers  


Explain abt the File System Object in QTP with ex

3 Answers   Ordain Solutions,


· What should test in BANKING DOMAIN application ?

2 Answers   TCS,


Is it possible to call win runner script in qtp?

0 Answers  


how will u do database testing in qtp? how will u do the same with descriptive programming?

1 Answers   Ordain Solutions,


Categories