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

give me an ex. of unoverloaded method?

2 Answers   Misys,


In html file what is an ideal position to include vbscript?

1 Answers  


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

1 Answers  


write a program to display the system specifications of client system with the help of vb script.

1 Answers  


Explain vbscript in detail?

1 Answers  


Which event is triggered when mouse focus comes out of an element in the vbscript language?

1 Answers  


Mention what is the difference between vbscript and vba?

1 Answers  


how to add action through AOM in QTP

0 Answers  


When does ‘on click of button’ event gets triggered in the vbscript language?

1 Answers  


What are the naming conventions while declaring a variable in the vbscript language?

1 Answers  


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

1 Answers  


write a vb script to find simple interest using functions

1 Answers  


Categories