Hi,
I just installed the latest Telerik Testing Framework (2012.1.411) and changed a line in
SilverlightHealthcareSample.cs so that I can use app.config to switch browsers.
line 136 from the hard coded InternetExplorer to the app.config's browser settings
| // Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
| Manager.LaunchNewBrowser(Manager.Settings.DefaultBrowser);
When set to FireFox, the test crashes in the searchScroll.InvokeMethod line.
| SilverlightHealthcareSample.cs:line 279 searchScroll.InvokeMethod(scrollVert, 2000);
Error Message:
| Test method QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo threw exception:
| ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details: System.NullReferenceException: Object reference not set to an instance of an object.
| at ArtOfTest.WebAii.Silverlight.AutomationMethod.ReturnsAutomationPeer()
| at Telerik.TestingFramework.XamlExtension.ClientProcessor.ProcessCommand(String command)
|
Error Stack Trace:
| ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
| ArtOfTest.WebAii.Silverlight.SilverlightProxy.InvokeMethod(AutomationMethod method, IAutomationPeer peer)
| ArtOfTest.WebAii.Silverlight.AutomationObject`1.InvokeMethod(AutomationMethod method, Object[] parameters)
| QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo() in C:\programs\x86\ttf2012.1.411\Samples\Testing Framework\QuickStarts_VSTS_CS\Tests\SilverlightHealthcareSample.cs: line 279
|
I hope you can reproduce and find a fix.
Thanks,
I just installed the latest Telerik Testing Framework (2012.1.411) and changed a line in
SilverlightHealthcareSample.cs so that I can use app.config to switch browsers.
line 136 from the hard coded InternetExplorer to the app.config's browser settings
| // Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
| Manager.LaunchNewBrowser(Manager.Settings.DefaultBrowser);
When set to FireFox, the test crashes in the searchScroll.InvokeMethod line.
| SilverlightHealthcareSample.cs:line 279 searchScroll.InvokeMethod(scrollVert, 2000);
Error Message:
| Test method QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo threw exception:
| ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details: System.NullReferenceException: Object reference not set to an instance of an object.
| at ArtOfTest.WebAii.Silverlight.AutomationMethod.ReturnsAutomationPeer()
| at Telerik.TestingFramework.XamlExtension.ClientProcessor.ProcessCommand(String command)
|
Error Stack Trace:
| ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
| ArtOfTest.WebAii.Silverlight.SilverlightProxy.InvokeMethod(AutomationMethod method, IAutomationPeer peer)
| ArtOfTest.WebAii.Silverlight.AutomationObject`1.InvokeMethod(AutomationMethod method, Object[] parameters)
| QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo() in C:\programs\x86\ttf2012.1.411\Samples\Testing Framework\QuickStarts_VSTS_CS\Tests\SilverlightHealthcareSample.cs: line 279
|
I hope you can reproduce and find a fix.
Thanks,