XBAP Test in debug mode

Mar 15, 2011 at 2:00 PM

I can test deployed application by getting IE

_browserWindow = InternetExplorer.Launch(deploymentAddress, appTitle);

but cant lunch it from bin/debug.

Did try to find a work arownd as

_applicationProcess = Process.Start("presentationhost.exe", appPath")

automationElement = AutomationElement.FromHandle(_applicationProcess.Handle);

_browserWindow = new InternetExplorerWindow(automationElement, windowFactory, initializeOption, windowSession);

but _browserWindow has no items.

Anybody doing XBAP tests?

 

Jun 1, 2011 at 12:51 PM

Im trying to test xbap application, how can you get elements (ex. button) from xbap application from BrowserWindow ?