Simple way for automate silverlight applications.
You would need to add reference to white.webbrowser.dll along with white.core.dll.
InternetExplorerWindow browserWindow = InternetExplorer.Launch("http://localhost/white.testsilverlight/TestSilverlightApplicationTestPage.aspx", "FooApp Title - Windows Internet Explorer"); SilverlightDocument document = browserWindow.SilverlightDocument; Button button = document.Get<Button>("buton"); Label label = document.Get<Label>("status"); //...so on. The objects Button, Label etc behave the same way as for WinForm/WPF etc.
Please look at the rest of the documentation to understand other aspects of white. This shows what you need to do extra to use Silverlight.
- Silverlight in firefox is not supported completely yet. UIItems can be read but mouse events don't work in the Firefox window.