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

What is test object?

0 Answers  


What is the difference between run time object and test object in QTP?

0 Answers  


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

1 Answers  


what is main diff of qtp8.2 and qtp9.0?

1 Answers   Covansys,


Please explain me frameworks & how to generate the scripts in framework

0 Answers   ADP,






How can you pass value one action to another action?

0 Answers  


Both static and dynamic arrays are handled by the vb script. Is it true?

0 Answers  


How to capture dynamic objects in qtp like mark up text

3 Answers  


what is TOM in qtp?

5 Answers   Accenture,


Have you used TD?

2 Answers  


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


Categories