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

Can anyone send me a vb script function for verifying the functionality of active links on a web page

1803


when we use filter funtiom invb script(QTP)

2512


What is Procedure or Subroutine in VB Script?

863


How you can call vbscript functions?

809


Explain the arrays in vb script?

829


How strcomp function works?

872


Explain about scrrun.dll in vbscript?

889


What are string functions in vbscript?

874


How will you get the octal value of the given number in vbscript?

750


What is event handling in vbscript?

834


what is the differance between BYVAL,BYREF?

2029


Explain vbscript in detail?

843


How to Enter Values on the Command promt using VB script

1772


Explain about scrrun.dll?

739


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1643