Micro Focus QTP (UFT) Forums

Full Version: File Download Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ,
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
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