I had reported the same problem with different points previously, but enough is different now to warrant a new thread, I think.
I successfully recorded and replayed a test in IE8. I have reviewed the setup information for Safari, I am using Safari 5.1, and all is as the sheets say preferences should be. However, when I hit execute with Safari selected, up pops the browser but with an incorrect address in the address window. It has http://localhost:59057/WebUI?2091990182. The first step in the test is "Navigate to: 'http://localhost:4874/index.html". In the main window it says "Preparing browser for automation..."
If I manually replace the wrong address with the right address, the browser goes to the app but never executes the remaining steps. If I log in to the correct address manually with the browser without TS it launches the app just fine.
I increased the WaitOnElementsTimeout to 100000 to no avail.
Here is the log output:
------------------------------------------------------------
'8/16/2011 1:17:53 PM' - Starting execution....
'8/16/2011 1:17:53 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'8/16/2011 1:18:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - 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.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - Test completed!
Lee
I successfully recorded and replayed a test in IE8. I have reviewed the setup information for Safari, I am using Safari 5.1, and all is as the sheets say preferences should be. However, when I hit execute with Safari selected, up pops the browser but with an incorrect address in the address window. It has http://localhost:59057/WebUI?2091990182. The first step in the test is "Navigate to: 'http://localhost:4874/index.html". In the main window it says "Preparing browser for automation..."
If I manually replace the wrong address with the right address, the browser goes to the app but never executes the remaining steps. If I log in to the correct address manually with the browser without TS it launches the app just fine.
I increased the WaitOnElementsTimeout to 100000 to no avail.
Here is the log output:
------------------------------------------------------------
'8/16/2011 1:17:53 PM' - Starting execution....
'8/16/2011 1:17:53 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'8/16/2011 1:18:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - 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.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - Test completed!
Lee