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

Could you please any body help me.for example in web table in the first row and first column there are 3 links like l1,l2,l3 having indexes 0,1,2 but second time links will change their order like l2,l3,l1 and indexes also changed how can we handle this situvation with script....

2 Answers  


what is keyword driven testing

2 Answers  


What are the problems / difficulties faced when you used Smart Identification ?

2 Answers   Keane India Ltd,


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


explain structured testing? plz guys with exp. do answer

0 Answers  






request to add whatsapp grp for test engineer

1 Answers  


What is the difference between qtp and selenium?

0 Answers  


what is the difference between xmlutil and xmlDOM in qtp?

2 Answers  


Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?

4 Answers   TCS,


Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?

4 Answers   Livetek,


What is iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

0 Answers   TCS,


Categories