I am using QTP 10 (QuickTest Professional Add-In) for testing an ASP.NET MVC application. I am having problems retrieving the value of a dropdown box in a file upload form (enctype="mulitpart/form-data".) It works fine when I run locally but is not running when I run the test on another host. It seems to be retrieving the filename (input type="file"), but is not retrieving the value of the <select>. This causes my server-side validation to send an error message back to the browser, and my test fails. Any ideas that you might have would definitely help. Thanks.
I should note that when the form is submitted, the validation method reads the file to make sure that it is formatted correctly. This takes about one and a half seconds.
I should note that when the form is submitted, the validation method reads the file to make sure that it is formatted correctly. This takes about one and a half seconds.