| || |
Mouse Cursor value gets corrupt
Hi, I am using the following statement in my TestPartner code
If (TestPartner.Mouse.Cursor <> tpCursorWait) Then
For some reason when I run this, sometimes my mouse cursor will turn to tpCursorArrow, when it should be tpCursorWait in the application I am testing. It seems accessing the mouse, causes the mouse to switch states when it should not. Is there another way I can access the mouse? Or has anyone seen any weird behavior when accessing the mouse this way.
Once the cursor turns to tpCursorArrow, I continue my script, but the cursor should be tpCursorWait. The cursor is getting corrupted and the only way to reset it is to shut down my application and restart it again.. Thanks for any help
Re: Mouse Cursor value gets corrupt
Check out the "Mouse Event".