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

Test Runner crush on pop-up window

5 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Uroš
Top achievements
Rank 2
Uroš asked on 08 Sep 2015, 12:34 PM

 Lately I am experiencing crush of Test Runner (ver. 2015.1.528) in Google Chrome when a test deals with a pop-up window. On the desktop version, I cannot replicate this issue. Any ideas what could cause this_ 

 

[09.08 13:04:46,ArtOfTest.Runner.exe(3928:6),Execution] ExecutionEngine.NotifyBeforeStepExecuted() : Executing step 2 "Connect to pop-up window : 'http://myhours.com/resources/gettingstarted'"...

[09.08 13:05:01,ArtOfTest.Runner.exe(3928:6),Error] ExecutionEngine.CatchExecuteStepException() : EXCEPTION! (see below)
     Outer Exception Type: System.OperationCanceledException
     Message: Exception occurred waiting for the new browser to connect.
     HRESULT: 0x8013153B (Official ID (if app.) = COR_E_OPERATIONCANCELED, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5435)
     Call Stack:
          at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
          at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
          at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
          at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

     Inner Exception Type: System.TimeoutException
     Message: Wait for condition has timed out
     HRESULT: 0x80131505 (Official ID (if app.) = COR_E_TIMEOUT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5381)
     Call Stack:
          at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
          at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)

5 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 11 Sep 2015, 08:33 AM

Hello Uros,

I can see the URL is public available:

http://myhours.com/resources/gettingstarted

Is there a way to provide me with a short test that reproduces this behavior so I can investigate further. Another thing I would like to to clarify: What do you mean by saying you cannot replicate this on desktop version?

Looking forward to hearing from you.

Regards,

Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Uroš
Top achievements
Rank 2
answered on 11 Sep 2015, 12:59 PM

I have been able to record a replication procedure, that also happens on my local workstation.

 

0
Ivaylo
Telerik team
answered on 16 Sep 2015, 06:52 AM
Hello Uros,

Thank you for providing me with the test. I have tried more that 10 times to reproduce the behavior with the Chrome browser, but I was not able to. Am I supposed to get the behavior within those 10 runs? Refer to this short video of the execution on my end. Let me know if I am not following the exact repro steps.

The other possible reason could be the older version of Test Studio you are using. Can you try upgrading and make sure the extensions are the same versions as from the screenshot attached.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Uroš
Top achievements
Rank 2
answered on 28 Sep 2015, 06:05 AM
I have found the reason for such behaviour, Chrome auto updater changed Pop-ups to Do not allow....
0
Ivaylo
Telerik team
answered on 30 Sep 2015, 12:55 PM
Hello Uros,

Thank you for the update.

That is why we always advise to keep your browsers calibrated.

I am closing this case.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Uroš
Top achievements
Rank 2
Answers by
Ivaylo
Telerik team
Uroš
Top achievements
Rank 2
Share this question
or