Access child window when in Silverlight App

Sep 13, 2010 at 7:57 PM

I am just learning how to Automate using White against Silverlight. I can Launch and connect to the Silverlight App and have a popup Title = "Microsoft Silverlight" that has 2 buttons, "Yes" and "No". I'm having trouble recognizing the window.

I accessed the Silverlight App using:

InternetExplorerWindow browserWindow = InternetExplorer.Launch("URL", "Title");

White.WebBrowser.Silverlight.SilverlightDocument MainApp = browserWindow.SilverlightDocument;

MainApp.Click();

It is here that I get the "Microsoft Silverlight" window that prompts that asks if I want to add this application to my clipboard. How do I access this window?

Thanks