Forum Discussion

anand9796's avatar
New Contributor
6 years ago

ASP.NET MVC File Upload

I want to upload file in . How can I upload the file using html input file control?

1 Reply

  • tristaanogre's avatar
    Esteemed Contributor

    TestComplete is a tool that is designed around interacting, primarily, with the UI to perform tests.  So, the first thing I would suggest is to do a quick "record" of the specific task to see how TestComplete interacts with the component.  Now, a caveat... i would not KEEP that recording without making edits, updates, changes to make it more robust and "bullet proof", but that is a starting point.  It will give you.


    1) How TestComplete recognizes the control

    2) A generation of an initial NameMapping of the control

    3) A rough code representation of the UI interaction.


    Have you tried this yet?  If so, what specific problems are you running into?