Hi,
I am using the sample of WebAii Framework, specifically the "SilverlightHealthcareSample.cs", In Visual Studio 2010 Premium Edition, in Windows 7 (64bit). The script fails just as it starts with the errors bellow. Can you please take a look and see what I am doing wrong?
I have also installed the WebUI Test Studio QA and Developer edition.
I have also tried adding the line 'Manager.Settings.SilverlightConnectTimeout = 10000;' but still the same results.
I have the following browsers installed, chrome v10, IE v9, firefox v3.6, safari v5.0.4.
In Safari and Chrome (fails before the browser opens)
[9:50 AM] - Using: ArtOfTest.Common, Version=2010.3.1421.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[9:50 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[9:50 AM] - Unable to open key HKLM\SOFTWARE\Telerik
'2011-04-14 9:50:48.097 AM' - [Trace] : Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
In Internet explorer (fails after the browser opens, but it does not try to navigate to the webpage)
In Firefox (fails after the browser opens, and it tries to navigate to the site, getting a 'The proxy server is refusing connections' in the browser)
Best Regards
I am using the sample of WebAii Framework, specifically the "SilverlightHealthcareSample.cs", In Visual Studio 2010 Premium Edition, in Windows 7 (64bit). The script fails just as it starts with the errors bellow. Can you please take a look and see what I am doing wrong?
I have also installed the WebUI Test Studio QA and Developer edition.
I have also tried adding the line 'Manager.Settings.SilverlightConnectTimeout = 10000;' but still the same results.
I have the following browsers installed, chrome v10, IE v9, firefox v3.6, safari v5.0.4.
In Safari and Chrome (fails before the browser opens)
[9:50 AM] - Using: ArtOfTest.Common, Version=2010.3.1421.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[9:50 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[9:50 AM] - Unable to open key HKLM\SOFTWARE\Telerik
'2011-04-14 9:50:48.097 AM' - [Trace] : Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
In Internet explorer (fails after the browser opens, but it does not try to navigate to the webpage)
[10:14 AM] - Using: ArtOfTest.Common, Version=2010.3.1421.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[10:14 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[10:14 AM] - Locating ArtOfTest.Connector.dll
[10:14 AM] - Unable to open key HKLM\SOFTWARE\Telerik
[10:14 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[10:14 AM] - Locating ArtOfTest.Connector.dll
[10:14 AM] - Unable to open key HKLM\SOFTWARE\Telerik
Automate a complex Silverlight application: System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
----> System.NullReferenceException : Object reference not set to an instance of an object.
----> System.NullReferenceException : Object reference not set to an instance of an object.
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
at QuickStarts_NUnit_CS.SilverlightHealthcareSample.HealthCareDemo() in SilverlightHealthcareSample.cs: line 91
--NullReferenceException
at ArtOfTest.Common.Win32.WindowManager.Attach(ref IntPtr handle, Boolean findTabWindow, Boolean loadClr, ref IntPtr hookId)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
at QuickStarts_NUnit_CS.SilverlightHealthcareSample.HealthCareDemo() in SilverlightHealthcareSample.cs: line 91
--NullReferenceException
at ArtOfTest.Common.Win32.WindowManager.Attach(ref IntPtr handle, Boolean findTabWindow, Boolean loadClr, ref IntPtr hookId)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
In Firefox (fails after the browser opens, and it tries to navigate to the site, getting a 'The proxy server is refusing connections' in the browser)
[10:14 AM] - Using: ArtOfTest.Common, Version=2010.3.1421.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[10:14 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[10:14 AM] - Unable to open key HKLM\SOFTWARE\Telerik
'2011-04-14 10:14:56.934 AM' - [Trace] : Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
[10:14 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[10:14 AM] - Unable to open key HKLM\SOFTWARE\Telerik
'2011-04-14 10:14:56.934 AM' - [Trace] : Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
Exception caught in AOTHttpProxy.Start:
System.InvalidOperationException: Missing WebAii framework registry key 'HKLM\Software\Telerik\WebUITestStudio'
at ArtOfTest.WebAii.Messaging.Http.HttpProxyManager.Start()
Automate a complex Silverlight application: System.ArgumentException : Index '0' is invalid. List contains only '0' apps
at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)
at QuickStarts_NUnit_CS.SilverlightHealthcareSample.HealthCareDemo() in SilverlightHealthcareSample.cs: line 100
at QuickStarts_NUnit_CS.SilverlightHealthcareSample.HealthCareDemo() in SilverlightHealthcareSample.cs: line 100
System.Threading.ThreadAbortException: Thread was being aborted.
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.AsyncListener()
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Best Regards