Hello,
I have to launch my Silverlight application for automating my testing, I am now working with Internet Browser for now, but I ideally need to automate my testing by initiating the desktop link to of Silverlight application to test. I have tried couple of options posted in some the following links..
I hope I am missing somethingā¦Please help me on the sameā¦
Find my desktop link properties::
"C:\Program Files (x86)\Microsoft Silverlight\sllauncher.exe" 846926624.localhost
Code Below:
//ABI
[TestMethod]
public void SilverlightApplicationFileUploadExample4()
{
var settings = GetSettings();
settings.EnableSilverlight = true;
Window buttonToClick = null;
Initialize(settings, Console.WriteLine);
Manager.Settings.ExecutionDelay = 10;
//Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
//ActiveBrowser.NavigateTo("http://localhost/Web/FieldClaims.aspx");
Manager.LaunchNewBrowser(BrowserType.SilverlightOutOfBrowser, true, System.Diagnostics.ProcessWindowStyle.Minimized, "846926624.localhost"); //Fails here with Script Error
}