Hi, i want download attached files in test plan area from
QC to local drive in my system using QTP script. Please
help me
Answers were Sorted based on User's Feedback
TestResPath = "Subject/BPT/..."
SaveTo = "C:/TestPlan/"
Set qcConn = QCUtil.QCConnection

Set oTestResource = qcConn.TestFactory

Set oTestResourceList = oTestResource.NewList
For i = 1 to oTestResourceList.count
QCTestPath = oTestResourceList.item(i).Path
if instr(1,TestResPath,QCTestPath)> 0 Then
oTestResourceList.DownloadResource saveTo, True
End if
Next 

Set oTestResourceList = Nothing
Set oTestResource = Nothing
Set qcConn = Nothing
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / gabbar singh
You have an export option from test plan tab. that will do
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / softwaretester4u
Hi Singh,
I am looking for using QTP script .download attached files
in test plan area from QC to local drive
Is This Answer Correct ? | 0 Yes | 1 No |
Explain different types of checkpoints?
There is an excel file of 1 to 100 sheets how you will iterate through it?
How to measure transaction time through VBScript without using start and end transaction points?
Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet??
In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?
why should we give deliver good quality software?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
In qtp, how you can get the last character from a string?
What are the methods of the TextStream object that are used for reading from a text file?
How to use the object spy in quicktest professional 8.0 version?
can the activities of test case design be automated?
what is command for executing files?