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 |
What is test object?
What is the difference between run time object and test object in QTP?
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.
what is main diff of qtp8.2 and qtp9.0?
Please explain me frameworks & how to generate the scripts in framework
How can you pass value one action to another action?
Both static and dynamic arrays are handled by the vb script. Is it true?
How to capture dynamic objects in qtp like mark up text
what is TOM in qtp?
Have you used TD?
write the code to reverse a string without using Strrev built in function.
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes