Hey all,
I'm currently experiencing an issue where when attempting to get the SilverlightApp, the automation experiences a Timeout. I've tried changing security settings as per instructions for setting up for WebAii, I've tried running as admin, impersonation, the works.
I can access HTML elements without issue, however, when attempting to get the app, it finds the element (as reflected by debugging) for the Silverlight object, but the app reference fails return. Increasing the timeout only results in the exception coming later and does not improve the situation.
The code here:
this.Manager.LaunchNewBrowser(BrowserType.InternetExplorer, true, System.Diagnostics.ProcessWindowStyle.Maximized);
this.ActiveBrowser.NavigateTo("https://ourwebsite/OurAppLocation/");
SilverlightAppsList appsList = this.ActiveBrowser.SilverlightApps();
SilverlightApp app = appsList[0];
results in the exception on the last line.
I've tried other .NavigateTo()+ overloads as well, without success. Interestingly, this happens on my machine, by not my coworkers'. Another coworker is continually having issues getting an initial action from the navigation process to work, even after modifying the security settings for IE. We have yet to find a common problem here, other than WebAii is having a very difficult time getting the application handles, be it browser, or the SilverlightApp.
Perhaps we're missing something vital?
My machine configuration:
- Visual Studio 2010 Ultimate
- Server 2003
- IE 7
- Default Template (VSUnit)
At this rate, we've invested so much time, with little yield, we're becoming somewhat disenchanted. Any help to get us on track ASAP would be most beneficial. I'm trying this on another machine and will report back if the same results are observed there.
I'm currently experiencing an issue where when attempting to get the SilverlightApp, the automation experiences a Timeout. I've tried changing security settings as per instructions for setting up for WebAii, I've tried running as admin, impersonation, the works.
I can access HTML elements without issue, however, when attempting to get the app, it finds the element (as reflected by debugging) for the Silverlight object, but the app reference fails return. Increasing the timeout only results in the exception coming later and does not improve the situation.
The code here:
this.Manager.LaunchNewBrowser(BrowserType.InternetExplorer, true, System.Diagnostics.ProcessWindowStyle.Maximized);
this.ActiveBrowser.NavigateTo("https://ourwebsite/OurAppLocation/");
SilverlightAppsList appsList = this.ActiveBrowser.SilverlightApps();
SilverlightApp app = appsList[0];
results in the exception on the last line.
I've tried other .NavigateTo()+ overloads as well, without success. Interestingly, this happens on my machine, by not my coworkers'. Another coworker is continually having issues getting an initial action from the navigation process to work, even after modifying the security settings for IE. We have yet to find a common problem here, other than WebAii is having a very difficult time getting the application handles, be it browser, or the SilverlightApp.
Perhaps we're missing something vital?
My machine configuration:
- Visual Studio 2010 Ultimate
- Server 2003
- IE 7
- Default Template (VSUnit)
At this rate, we've invested so much time, with little yield, we're becoming somewhat disenchanted. Any help to get us on track ASAP would be most beneficial. I'm trying this on another machine and will report back if the same results are observed there.