Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

why do u choose to go for testing why cant for devoloping

0 Answers  


What are class variables?

0 Answers  


write a Vb script to find a whther a selected drive exits.

1 Answers   CTS,


Explain the string concatenation function in vbscript?

0 Answers  


What is the difference between for loop and while loop?

0 Answers  


join all the array values without using join function?

1 Answers   CSS Corp,


Both Static and dynamic arrays are handled by VB script. Is it true?

0 Answers  


How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?

10 Answers   Cap Gemini, CTS,


Explain what is loose binding? Why is it not a good practice to use it?

0 Answers  


write a script to count no drives in file systems in qtp?

1 Answers   Mind Q Systems,


How will you get the largest subscript of an array in vbscript?

0 Answers  


Explain the filter expression?

0 Answers  


Categories