I’m working with several web based applications where I’m required to input financial data, save my input, move between various screens within the application, etc.
Each of the above actions require a certain load time by the application, which varies throughout the business day.
During a load time, the mouse cursor (pointer) has the spinning blue circle next to it, so I’m wondering if there’s a way to capture this “cursor busy” state and use it instead of a hard time delay?
Unfortunately, the web page itself does not register as “loading”, so setting the Wait for Ready property to Complete does not work.
This is a great approach. I’m using this for a webpage that is loading some data, with the UI Path Community edition. The issue I have now is that I had this working for a few days. Unfortunately now it doesn’t work and the Cursor.current never changes from the WaitCursor state. After the loading is done, the spinning stops, but when I do a writeline, it still says it’s in the WaitCursor state. Is this an issue with my OS, UIPath, or am I doing something wrong?
The while condition is: System.Windows.Forms.Cursor.Current.ToString.Equals(System.Windows.Forms.Cursors.WaitCursor.ToString)
So it sits there until the loading on the webpage is done, and then it should move forward. Originally it did, but not sure what happened that it doesn’t update the Cursor.Current value to Default.
Hi, i am trying to use this solution. I want to get the current cursor status, but i always get “[Cursor : WaitCursor]” no matter what the cursor real status is. I am in desktop application.
It looks like we need to find the cursor of the form associated to the app your robot is working on, not just a generic one. I’ve not worked out how to do that bit yet though.