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



Hi, i want download attached files in test plan area from QC to local drive in my system using QT..

Answer / ashok kumar

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

Hi, i want download attached files in test plan area from QC to local drive in my system using QT..

Answer / gabbar singh

You have an export option from test plan tab. that will do

Is This Answer Correct ?    0 Yes 0 No

Hi, i want download attached files in test plan area from QC to local drive in my system using QT..

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

Post New Answer

More QTP Interview Questions

Explain different types of checkpoints?

0 Answers  


There is an excel file of 1 to 100 sheets how you will iterate through it?

0 Answers  


How to measure transaction time through VBScript without using start and end transaction points?

0 Answers  


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??

2 Answers   TCS,


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?

2 Answers   Kanbay,






why should we give deliver good quality software?

0 Answers  


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.

0 Answers  


In qtp, how you can get the last character from a string?

0 Answers  


What are the methods of the TextStream object that are used for reading from a text file?

0 Answers  


How to use the object spy in quicktest professional 8.0 version?

0 Answers  


can the activities of test case design be automated?

0 Answers  


what is command for executing files?

0 Answers   VSoft,


Categories