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 |
print the array values in ascending order?
what is the use of QCUtil? explain with one example?
write a script to count no drives in file systems in qtp?
How to generate 3 digit random number?
How to assign a date value to a variable?
Mention the environments where vbscript could be run?
how to store charecters of HARIBABU Using arrays
pls tell me which is good book or site for vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
Explain the constants in vbscript?