Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Can you supply a reference to any good win32 automation framework? – jayarjo Oct 25 '11 at 11:02
If you are only going to need it for a couple of dialogs then an entire win32 automation framework might be overkill and you should consider just using UIAutomation, however if you plan on using a win32 UI automation framework to test your silverlight or flash based application then you should find a good framework to use. I know you can use PowerShell:, and there are a lot of others out there. Unfortunately, my experience with win32 UI automation frameworks was internal to Microsoft. I don't have experience with any publicly available. – Sam Woods Oct 25 '11 at 17:32
If you're still looking, AutoIT might be an option: I've used it in conjunction with WebDriver to automate manipulating a file dialog that's actually generated by a flash utility embedded in a website I'm testing. – Greg Gauthier Mar 15 '12 at 22:02

Telerik provides their own Silverlight Test Automation Tool. They predominantly work on .NET platform. You can check

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.