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 |
Explain the .wsf files?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Can anyone help me in write coding to get this pattern * ** *** ****
How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?
How to insert snapshot during manual scripting in QTP?
Write a program to print all lines that contains a word either “testing” or “qtp”
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How will you compare two strings in vbscript?
Which loop is used in case of arrays in the vbscript language?
Mention what is variant in vbscript?
Explain different types of segment?
In what way program "hello world" you can write in vbscript?