Ewan
Ewan

Reputation: 581

Coded UI Test Builder - "Last mouse action was not recorded" happened since windows update

I was recording tests yesterday with no problems. As there was a windows update, I did an Update and Restart of my machine. Now I can't record any tests with the Coded UI Test Builder now. This is in a Coded UI Test project. I have tried to record actions that I recorded no problem yesterday and I can't record them. After I click on anything, it will hang, the mouse action will happen about 20 seconds later and the Coded UI Test Builder will say "Last mouse action was not recorded". Whilst I am recording mouse movement is slow too, at best the cursor catches up a few seconds after the mouse was moved and at worst it does nothing then jumps about a minute after you moved the mouse.

It's all very bizarre and nothing else has changed, only the windows update. I am also not making any basic mistakes because I did have this working before the updated.

I have restarted my machine 3 times and there are no more windows updates.

Any suggestions?

Upvotes: 0

Views: 1810

Answers (2)

Ewan
Ewan

Reputation: 581

There's an update from Microsoft ...

"The windows team has acknowledged that this is a bug in the new WIndows 10 creators update. This would be fixed as a part of the next update."

The thread is https://developercommunity.visualstudio.com/content/problem/41788/coded-ui-builder-vs2017-will-not-record-any-mouse.html.

This is the best answer we'll get I think so don't update and do stop any updates until the next windows 10 update or Downdate if you have updated and then don't update until the next win 10 update from MS. Personally, if downdating I am doing so on a machine with no internet connection as there can be security updates in any windows update.

Upvotes: 3

Animesh
Animesh

Reputation: 1241

'Downdating' Windows will work. I had the same issue after Windows 10 Creators update, downdated it to previous version and problem solved

Upvotes: 1

Related Questions