I have some code that attempts to launch an IE browser. This code is integrated with NUnit and launched via TeamCity and the NUnit plugins they bundle with their continuous integration build solution. Launching a Firefox browser works fine.
System:
Things I have tried already:
Stacktrace:
Test(s) failed. System.TimeoutException : Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.GetTestReport(BrowserType browserToLaunch) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 86
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.RunAndReport(BrowserType browserType) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 46
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.Passes_qunit_internet_explorer_tests() in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 41
------- Stdout: -------
[9:41 AM] - Using: ArtOfTest.Common, Version=2010.3.1213.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[9:41 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[9:41 AM] - Locating ArtOfTest.Connector.dll
[9:41 AM] - Loading C:\Program Files (x86)\Telerik\WebAii Testing Framework 2010.3\Bin\ArtOfTest.Connector.dll
[9:41 AM] - Loading _HookProc@12
[9:41 AM] - Hooking window 56230192
[9:41 AM] - Starting up the .NET runtime
[9:41 AM] - ------- Function Start 'InternetExplorerActions.InjectCode' -------
[9:41 AM] - Connection string: C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2010.3.1213.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?11808
[9:41 AM] - Attempting to get document from window handle
[9:41 AM] - ------- Function End 'InternetExplorerActions.InjectCode' -------
Do you guys have any other suggestions on things I might try?
Thanks a lot!
Kevin
System:
- Windows 7
- IE 8
- WebAii 2010.3.1213.0
Things I have tried already:
- ensured I am launching the 32bit version of IE8
- no other IE add-ons are running
- 'Allow active content to run in files on My Computer' is enabled
- set TeamCity's NUnit plugins to always run as Admin
- ensured the TeamCity login user is an Admin
Stacktrace:
Test(s) failed. System.TimeoutException : Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.GetTestReport(BrowserType browserToLaunch) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 86
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.RunAndReport(BrowserType browserType) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 46
at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.Passes_qunit_internet_explorer_tests() in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 41
------- Stdout: -------
[9:41 AM] - Using: ArtOfTest.Common, Version=2010.3.1213.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[9:41 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[9:41 AM] - Locating ArtOfTest.Connector.dll
[9:41 AM] - Loading C:\Program Files (x86)\Telerik\WebAii Testing Framework 2010.3\Bin\ArtOfTest.Connector.dll
[9:41 AM] - Loading _HookProc@12
[9:41 AM] - Hooking window 56230192
[9:41 AM] - Starting up the .NET runtime
[9:41 AM] - ------- Function Start 'InternetExplorerActions.InjectCode' -------
[9:41 AM] - Connection string: C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2010.3.1213.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?11808
[9:41 AM] - Attempting to get document from window handle
[9:41 AM] - ------- Function End 'InternetExplorerActions.InjectCode' -------
Do you guys have any other suggestions on things I might try?
Thanks a lot!
Kevin