how to add the shared repository file to the script file
while running the script manuall
Answers were Sorted based on User's Feedback
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 |
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 |
How to write functions and sub in vb script?
What is loose binding? Why is it not a good practice to use it?
What is Querystring collection?
How are values assigned to string type and numeric type variables?
Which operator can be used to do an xor operation in vbscript?
write a vbscript for traffic signal
How to take whole text output from screen of Bitmap Application.
what is the use of QCUtil? explain with one example?
Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642
Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?
What is the output of a + b in vbscript if a = 5 and b = 10?
how to write function to validate the number of characters entering into the text box?