This is a migrated thread and some comments may be shown as answers.

Can not get SilverlightApp

2 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
San
Top achievements
Rank 1
San asked on 28 Apr 2011, 06:04 AM
Hi,

I'm using Telerik.WebAii.Framework.2010.3.1607.msi

Using FF3.0.6

My SL Objects will be loaded after user was logged in successfully.

My code:
Init()
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();
            Utilities.GlobalObject.MANAGER.ActiveBrowser.Window.Maximize();
            Utilities.GlobalObject.MANAGER.ActiveBrowser.NavigateTo(Utilities.GlobalRunning.SERVER_URL);
            Utilities.GlobalObject.MANAGER.ActiveBrowser.WaitUntilReady();
-------------
Login()
            FATInput.Tradition.TypeTextFieldBYID("Login1_UserName", Utilities.GlobalRunning.SERVER_USER);
            FATInput.Tradition.TypePasswordBYID("Login1_Password", Utilities.GlobalRunning.SERVER_PASSWORD);
            FATInput.Tradition.ClickButtonBYID("Login1_LoginButton");
            Utilities.GlobalObject.MANAGER.ActiveBrowser.WaitUntilReady();
            System.Threading.Thread.Sleep(Utilities.GlobalConfig.INT_WAIT_TIMEOUT_MILISECOND);


            Utilities.GlobalObject.SILVERLIGHTAPP = Utilities.GlobalObject.MANAGER.ActiveBrowser.SilverlightApps()[0];
-----------------

Found exception at Utilities.GlobalObject.SILVERLIGHTAPP = Utilities.GlobalObject.MANAGER.ActiveBrowser.SilverlightApps()[0];

---------- Detail 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 FATWelcomePage.WelcomePage.loginSuccess() in D:\\FAT_WebAii\\FATWelcomePage\\WelcomePage.cs:line 39\r\n   at FATWelcomePage.FAT.run(String strSelectedAction) in D:\\FAT_WebAii\\FATWelcomePage\\FAT.cs:line 19\r\n   at FATTestRunner.TestRunner.run(TestSuite tsItem) in D:\\FAT_WebAii\\FATTestRunner\\TestRunner.cs:line 84"

----------

Please help me if there is any way/solutions to fix this issue. It works fine in IE8,9 (32bit).

Seems that the proxy was set on and then the web AUT can not be loaded.

2 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Apr 2011, 03:37 PM
Hello San,

Is this the same application for which we filed PITS 5080?

Best wishes,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
San
Top achievements
Rank 1
answered on 29 Apr 2011, 03:38 AM
Yes, it seems that one.

Thanks for your replying, I will take a look on this ticket.
Tags
General Discussions
Asked by
San
Top achievements
Rank 1
Answers by
Cody
Telerik team
San
Top achievements
Rank 1
Share this question
or