how to add the shared repository file to the script file
while running the script manuall
Answer Posted / 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 View All Answers
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Write a code to print numbers from 5 to 0?
Can automation testing find ssame no. of bugs what we can find by manual testing?
How are arrays declared in the vbscript language?
How will you get the exponent of the given number in vbscript?
How will you get the smallest subscript of an array in vbscript?
How will you get the largest subscript of an array in vbscript?
Which date function is used in the vbscript language to find the difference between the 2 dates?
How to Import data from a file (file is on the desktop) to the data table
What is the main difference between function and sub-procedure?
Why to use option explicit in vb script?
Difference between dim,public and private variables in vb script?
How to create a cookie using vbscript?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Which function allows you to instantiate an object given its programmatic identifier or progid?