How To Add File Upload To Team System Web Test
How To Add File Upload To Team System Web Test
May times people asks me how can I Upload File with Web Test, The first thing is to record the Web Test using “Web Test Recorder” or Fiddler.
But when running the Web Test its fails in the Upload section.
Why?
Before understanding the problem let get familiar with “File Upload Parameter”
Right click on the required request and select “Add File Upload Parameter”
Then you can add the field name and the file location.
So why file upload fails?
Have a look at a short web test I record inside blogs.microsoft.co.il blogs, I upload a photo and only the file name is there.
When running the web test team system cannot file your file.
Add the full path of the file.
And Now your web test will work just fine.