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 |
My Salary is 65000. How Much TDS I have to pay
How will you trim the spaces on the left of a string using vbscript?
What are the uses of vb script?
Which object provide information about a single runtime error in a vbscript?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
How to search word in a string without using instring function?
Difference between dim,public and private variables in vb script?
Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its size to 7 elements and then find out which of the elements are prime (use functions)
Which date function is used in the vbscript language to find the difference between the 2 dates?
write a vb script to display the size of the folder,date created and name of the folder
hi, How will write a regular expression of date in VB scripting.