how to add the shared repository file to the script file
while running the script manuall

Answers were Sorted based on User's Feedback



how to add the shared repository file to the script file while running the script manuall..

Answer / manohar

Repositoriescollection.add "path of repository file"


or

Go to Resources tab > Object Repository > Click "+" symbol
and browse path of repository file.

Is This Answer Correct ?    0 Yes 0 No

how to add the shared repository file to the script file while running the script manuall..

Answer / manjunathareddy

Set QtApp=CreateObject("QuickTest.Application")
If Not QtApp.Launched Then
QtApp.Launch
QtApp.Visible=True
End If

Set QtRepo=QtApp.Test.Actions(ActionName).ObjectRepositories
QtRepo.RemoveAll
QtRepo.Add "C:\Test.tsr",1


'Note:--Action Name is Depends on ur Script name or give
numbers like 1,2,3

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Which is the default Data types in VBScript?

7 Answers   AppLabs,


who you define variables and functions in VB?

1 Answers  


explain with example primitive data types of vb script.

1 Answers  


How to delete a cookie using vbscript?

0 Answers  


Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario

4 Answers   AppLabs, IBM,


Mention what if you do not specify anything when you call a procedure?

0 Answers  


How to pass the parameter from one function to another function in VB Scripting?

1 Answers   Fastenal,


How to insert snapshot during manual scripting in QTP?

1 Answers  


Could Anybody tell me VBScript for Check if a given number is Prime number-Don't use any Built- in Functions Boolean/int is Prime(int number).. Thanks in advance.

12 Answers   Amazon, Pyroferus,


Which constant is used for print and display functions and works as same as pressing enter key?

0 Answers  


what is the features of visual basic?

0 Answers  


Explain the string concatenation function in vbscript?

0 Answers  


Categories