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

Limitations in QTP?

0 Answers   CIL,


What is the difference between Client/Server application and Web application ?

2 Answers   ArisGlobal,


what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana)

5 Answers   TCS,


How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


How to open an application through scripting?

11 Answers  






How to Analyze the Checpoint results by Standard Checpoint?

1 Answers  


Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?

4 Answers  


what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?

3 Answers   Aricent, Delhi University, TCS,


VB scrip has a special command named LBound, which returns the starting index of an arry. What are the possible indexes an array can start with? options are given below. and one only the correct answer. pl select it 1. any index 2. only even non-negative 3. only 0 4. any non-negative integer

1 Answers  


How to retrive XML file data in QTP ? using Script(Chandana)

6 Answers   Wipro,


What is difference between Recording time object identification and Run time (Execution) time.

0 Answers   Tech Mahindra,


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

0 Answers  


Categories