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 |
give me an ex. of unoverloaded method?
In html file what is an ideal position to include vbscript?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
write a program to display the system specifications of client system with the help of vb script.
Explain vbscript in detail?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Mention what is the difference between vbscript and vba?
how to add action through AOM in QTP
When does ‘on click of button’ event gets triggered in the vbscript language?
What are the naming conventions while declaring a variable in the vbscript language?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
write a vb script to find simple interest using functions