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

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,


Mention how to assign a date value to a variable?

0 Answers  


Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex

2 Answers  


What is the scope of a constant declared using public?

0 Answers  


What are lbound and ubound in the vbscript language?

0 Answers  






How can constants be declared in the vbscript language?

0 Answers  


What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

0 Answers  


1)How to test whether items in a weblist are in alphabetical order or not?

1 Answers   TCS,


write a vb script to display factorial of a number using function

1 Answers  


How are values assigned to the variables in the vbscript language?

0 Answers  


Which keyword is used to declare a variable in the vbscript language?

0 Answers  


What are the properties of regexp object?

0 Answers  


Categories