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 |
why do u choose to go for testing why cant for devoloping
What are class variables?
write a Vb script to find a whther a selected drive exits.
Explain the string concatenation function in vbscript?
What is the difference between for loop and while loop?
join all the array values without using join function?
Both Static and dynamic arrays are handled by VB script. Is it true?
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
Explain what is loose binding? Why is it not a good practice to use it?
write a script to count no drives in file systems in qtp?
How will you get the largest subscript of an array in vbscript?
Explain the filter expression?