Hi All,
First of all, just would like to say thanks to Telerik team on the release of Telerik_Testing_Framework_2011_1_609_FREE_EDITION.
I've been waiting for the fix for http://www.telerik.com/support/pits.aspx#/public/test-studio/5080 and now this release makes me happy.
Now, my script can handle silverlight object in IE, FF, and Safari. But Chrome doesn't work. It can not handle silverlight app and then throws exception.
If anyone else used to experience this issue, please help me out.
Thanks
San.
Here is my code.
Utilities.GlobalObject.SETTINGS = new Settings(BrowserType.InternetExplorer, Utilities.GlobalFolder.REPOSITORY_WEBAii_LOG, Utilities.GlobalRunning.SERVER_URL);
Utilities.GlobalObject.SETTINGS.EnableSilverlight = true;
Utilities.GlobalObject.SETTINGS.SilverlightConnectTimeout = 60000;
Utilities.GlobalObject.SETTINGS.ExecuteCommandTimeout = 60000;
Utilities.GlobalObject.MANAGER = new Manager(Utilities.GlobalObject.SETTINGS);
Utilities.GlobalObject.MANAGER.Start();
Utilities.GlobalObject.MANAGER.LaunchNewBrowser();
And the problem comes from this line
Utilities.GlobalObject.SILVERLIGHTAPP = Utilities.GlobalObject.MANAGER.ActiveBrowser.SilverlightApps()[0];
It takes so long long time, and then throw an exception
"System.TimeoutException: Timeout trying to connect to Silverlight App.\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.WaitUntilExtensionCreated(String extensionCall)\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect(Int32 timeout)\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect()\r\n at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)\r\n at SM2WelcomePage.WelcomePage.loginSuccess()"
First of all, just would like to say thanks to Telerik team on the release of Telerik_Testing_Framework_2011_1_609_FREE_EDITION.
I've been waiting for the fix for http://www.telerik.com/support/pits.aspx#/public/test-studio/5080 and now this release makes me happy.
Now, my script can handle silverlight object in IE, FF, and Safari. But Chrome doesn't work. It can not handle silverlight app and then throws exception.
If anyone else used to experience this issue, please help me out.
Thanks
San.
Here is my code.
Utilities.GlobalObject.SETTINGS = new Settings(BrowserType.InternetExplorer, Utilities.GlobalFolder.REPOSITORY_WEBAii_LOG, Utilities.GlobalRunning.SERVER_URL);
Utilities.GlobalObject.SETTINGS.EnableSilverlight = true;
Utilities.GlobalObject.SETTINGS.SilverlightConnectTimeout = 60000;
Utilities.GlobalObject.SETTINGS.ExecuteCommandTimeout = 60000;
Utilities.GlobalObject.MANAGER = new Manager(Utilities.GlobalObject.SETTINGS);
Utilities.GlobalObject.MANAGER.Start();
Utilities.GlobalObject.MANAGER.LaunchNewBrowser();
And the problem comes from this line
Utilities.GlobalObject.SILVERLIGHTAPP = Utilities.GlobalObject.MANAGER.ActiveBrowser.SilverlightApps()[0];
It takes so long long time, and then throw an exception
"System.TimeoutException: Timeout trying to connect to Silverlight App.\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.WaitUntilExtensionCreated(String extensionCall)\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect(Int32 timeout)\r\n at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect()\r\n at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)\r\n at SM2WelcomePage.WelcomePage.loginSuccess()"