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

how can we know the program is testing by multiple test data in data driven frame work?

1 Answers   CTS,


in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha

1 Answers  


How to execute a VBS file without using Execute File statement?

3 Answers   iGate,


How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


write code to read and write data from file?

1 Answers   IBM,


What is the pros and cons between QTP and Rational Robot

0 Answers   Virtusa,


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


How to export quicktest professional results to an .xls file?

0 Answers  


Give the syntax to import/export xls into qtp.

0 Answers  


what is Business Process Testing plz explain?

7 Answers   iFlex,


How to give a call to another action from one action?

0 Answers  


WHO IS THE BEST FACULTY FOR QTP IN HYDERABAD? A) NAGESHWAR RAO- MINDQ B) SURESH REDDY -SMART SOLUTIONS C) SURESH BABU- Q EDGE D) VENKAT - LIVE TECH E) GC.REDDY - HI-TECH CITY F) NONE OR OTHERS

7 Answers  


Categories