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

i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next

1 Answers  


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

0 Answers   Zensar,


how does vb script help in web page designing? explain with example.

0 Answers  


How are values assigned to string type and numeric type variables?

0 Answers  


How can you create an object in vbscript?

0 Answers  






what is visual basic?

2 Answers   Seion Infotech,


How to open browser in vb script?

0 Answers  


If else for do while select in vb script?

0 Answers  


If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....

3 Answers  


please can you help me to get a code of flames using a visual basic 6

0 Answers  


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?

1 Answers   Infosys,


Categories