Micro Focus QTP (UFT) Forums
File Download Issue - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: File Download Issue (/Thread-File-Download-Issue)



File Download Issue - eroshan - 10-19-2009

Hi All ,

My test run 3 iterations by given different inputs using xl file, and also it download a .txt file
from testing site. First test iteration download a file normally ,
but when i come to the 2nd iteration it download file and relapse the first iteration downloaded file. (Because file name same for all the iterations)

I want to have three files after all the three iterations, what should i do ?

Thanks ,


RE: File Download Issue - shellyQTP - 10-19-2009

hi,

you can add to the file name the number of iteration and than save it.

for ex.


MyFile Name = FileName & IterationNum & ".txt"

ope i understood your question Smile


RE: File Download Issue - eroshan - 10-19-2009

Hi

Thanks for reply ,

Your solution is not clear to me , can you explain little more ,
where should i paste above code ?

Eroshan
Hi

Thanks for the reply , i solved a this problem.


Eroshan