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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

1997


Write a code to print numbers from 5 to 0?

1080


Can automation testing find ssame no. of bugs what we can find by manual testing?

1910


How are arrays declared in the vbscript language?

940


How will you get the exponent of the given number in vbscript?

967


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

1309


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

1098


Which date function is used in the vbscript language to find the difference between the 2 dates?

1008


How to Import data from a file (file is on the desktop) to the data table

1943


What is the main difference between function and sub-procedure?

987


Why to use option explicit in vb script?

996


Difference between dim,public and private variables in vb script?

900


How to create a cookie using vbscript?

1120


Which in-built function related to an array joins substrings into one string in the vbscript language?

905


Which function allows you to instantiate an object given its programmatic identifier or progid?

975