Posted: 23 Dec 2019 9:17 EST Last activity: 23 Dec 2019 13:42 EST
Web Application Gets Stuck Occasionally
Hi, our project is working with a web application but it gets stuck on the log in page occasionally and the error can't be caught by the try catch. Based on the logs, this was the error that caused the bot to be stucked:
Error | 07:26:48.846 AM | 72 | STA | Windows Adapter | WebApplication_XNet | | ReparentWindow (HWND:00560A3E): Window HWND:00560A3E is not in any windows list and is not enqueued for creation. Window cannot be reparented.
While that may be the issue, there can be random adapter exceptions in the log that do not affect the behavior. Adapter exceptions are not automation exceptions and therefore cannot be caught in an automation. You can tell they are adapter exceptions by looking at the thread ID and seeing that it is the same one the adapter events occur on versus the ID of the thread that your automation is happening on.
I would first examine a full log to see what is going on. When you say "stuck", so you mean the page is frozen, or that the automation is failing to recognize that the page is present? If it is the latter, the issue might be matching and an examination of the adapter and a full log might help identify the issue.
Posted: 2 years ago
Posted: 23 Dec 2019 9:32 EST
Riego Edmond Contawi (RiegoEdmondC)
The bot should have clicked continue after entering some credentials in the web page.
This was the last step made by the bot:
Info | 07:13:53.640 AM | 78 | MTA | Automation | XN_P_LogIntoXNet | XNet_Prj | Automation: XN_P_LogIntoXNet - ExecutionLink From: WebApplication_XNet.btnContinue.Focus() To: WebApplication_XNet.btnContinue.PerformClick() ID: 0df156e1-96ec-45bc-a919-dab93247000a
Verbose | 07:13:54.328 AM | 9 | MTA | Robotics | | | RPA - polling for next work assignment...
Info | 07:13:54.328 AM | 9 | MTA | Robotics | | | RoboticsApiHelper.GetNextWorkItem - Robot checking for work.
Verbose | 07:13:54.515 AM | 11 | MTA | Robotics | | | RPA - Sending heartbeat...
Verbose | 07:13:54.546 AM | 9 | MTA | Robotics | | | RoboticsApiHelper.GetNextWorkItem - No work to do.
Verbose | 07:13:54.890 AM | 11 | MTA | Robotics | | | RoboticsApiHelper.SendHeartbeat - Send heartbeat succeeded.
Posted: 2 years ago
Posted: 23 Dec 2019 12:26 EST
Thomas Sasnett (ThomasSasnett)
Lead Robotics Architect