Test Runner crush on pop-up window

6 posts, 0 answers
  1. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 08 Sep 2015 Link to this post

     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)

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 11 Sep 2015 Link to this post

    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!
  3. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 11 Sep 2015 in reply to Ivaylo Link to this post

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

     

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 16 Sep 2015 Link to this post

    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!
  5. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 28 Sep 2015 in reply to Ivaylo Link to this post

    I have found the reason for such behaviour, Chrome auto updater changed Pop-ups to Do not allow....
  6. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 30 Sep 2015 Link to this post

    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!
Back to Top