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
What are the rules to name variable in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
about vb scripting programs this type of all question& answers
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
what types of bugs will we find out in banking projects for automation testing?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What methods are used to create text files and open text files in the vbscript language?
Explain about tristate constants?
What is the scope of a constant declared using public?
If else for do while select in vb script?
What is the difference between vbscript and vba?
Explain about scrrun.dll?
What if you do not specify anything when you call a procedure?
What are the differences between sub procedures and function procedures?
What is the purpose of regexp object in vbscript?