testing a download file link using JWebUnit

328 Views Asked by At

I am using JWebUnit. How can i use it to test if a download link works properly and the file is actually downloaded.

1

There are 1 best solutions below

0
On

you can get the header once the link is pressed getRequestHeaders() then use then get the returned source to evaluate.