It could have been easier if Flash/SilverLight made it possible to trigger file dialog programmatically, but file should still be selected, dialog confirmed, upload initiated... Looks like it has to be automated from outside. What's the usual automation path in such cases?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Flash and Silverlight are generally difficult to automate because they don't have full MSAA/UIAutomation implementations. Silverlight has been getting better, but specifically to your question, the file upload dialog is not actually a part of Flash or Silverlight and is MSAA/UIAutomation compliant.
You can use UIAutomation (the new replacement of MSAA) directly, or use any win32 automation framework to interact with that dialog.
Telerik provides their own Silverlight Test Automation Tool. They predominantly work on .NET platform. You can check