Question

Connection to the application lost. Maybe the application was closed or refreshed during the scan process.

  • 10 April 2024
  • 3 replies
  • 63 views

Badge +1

Hi,

 

I'm new to Tricentis Tosca and reaching out because I'm encountering an error message while performing exercises in the Tricentis Tosca Academy. During the scan screen, I receive the message: "Connection to the application lost. Maybe the application was closed or refreshed during the scan process."

Here's the situation:

  • I'm following the steps outlined in the academy materials.
  • I've confirmed that the application is open and running throughout the scan.
  • My screen resolution and laptop is set to 100%.

Despite these checks, I'm still encountering the error message, which is hindering my progress.

Appreciate for any guidance on how to troubleshoot or resolve this issue.

Thank you.

 

Regards,

Grace


3 replies

Badge +1

This is the detail of the error message

Connection to the application lost. Maybe the application was closed or refreshed during the scan process.

Details:
Tricentis.Automation.XScan.Tasks.ApplicationRefreshedOrClosedException: Connection to the application lost. Maybe the application was closed or refreshed during the scan process.
 ---> Tricentis.Automation.Remoting.UnestablishedConnectionException: Unestablished connection to browser.
   at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.ExecuteTask(String taskUid, TransactionPart part, Int32 timeout)
   at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.ExecuteTask(String taskUid, TransactionPart part)
   at Tricentis.Automation.Engines.Technicals.RemoteObjectManager`1.<>c__DisplayClass61_0.<GetPropertyAsReference>b__0()
   at Tricentis.Automation.Helpers.DisposeChecker.ThrowIfDisposed[TRet](String memberName, Func`1 action)
   at Tricentis.Automation.Engines.Technicals.Html.HtmlDocumentTechnicalBase`2.get_ActiveElement()
   at Tricentis.Automation.Engines.Adapters.Html.Generic.AbstractHtmlDomNodeAdapter`1.get_Focused()
   at Tricentis.Automation.Engines.Representations.Generic.GuiRepresentation`1.get_Focused()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
   at Tricentis.Common.Helpers.ReflectionExtension.TryGetProperty[T](Object target, String name, T& result, PropertyInfo& propertyInfo)
   at Tricentis.Automation.Engines.Representations.Representation`1.GetProperty(String name, PropertyInfo& propertyInfo, Boolean fallback)
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.TryGetProperty(IRepresentation representation, String technicalReadablePropertyName, PropertyInfo& propInfo)
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.GetProperties(IRepresentation representation)
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.LoadCached()
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.LoadProperties()
   at Tricentis.Automation.XScan.Result.Tasks.Html.HtmlLoadPropertiesTask.LoadProperties()
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.GetOrCreateIdList(IEnumerable`1 oldList)
   at Tricentis.Automation.XScan.Result.Tasks.LoadPropertiesTask.ExecuteTask()
   at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteItemInSafeMode(TaskExecutionItem runningTaskExecutionItem)
   --- End of inner exception stack trace ---
   at Tricentis.Automation.XScan.Tasks.TaskExecutor.HandleExceptionThrownInTask(IScanTask runningTask, TaskInfo taskInfo)
   at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteRunningExecutionItem(TaskExecutionItem runningTaskExecutionItem)
   at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteFollowUpTasks(TaskExecutionItem parentItem)
   at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteItemInSafeMode(TaskExecutionItem runningTaskExecutionItem)

Hello, i have the same probleme.

Did you found the solution please ?

Badge +1

Hello, i have the same probleme.

Did you found the solution please ?

Hi, I switched from using Chrome to Edge, and the issue no longer exists. I'm just wondering if anyone from Tricentis admin or product manager can reply to our question in the forum.

 

Regards,

Grace

Reply