espaciomore
espaciomore

Reputation: 348

CodedUI is blocking my automation scripts

My automation scripts are hanging when filling out some form details in a dialog window for IE-10.

The logging shows how the script stops for more than half an hour and then it continued until it failed. Other times the application is in an infinite waiting state.

I tried timing the get control operation but that doesn't seem to be the problem. But, I'm guessing the issue is around a COM operation like the Keyboard sendkeys or the Click action.

Please provide any troubleshooting methods for this problem.

Upvotes: 0

Views: 108

Answers (1)

Thomas Bouman
Thomas Bouman

Reputation: 608

This could be caused by the playback engine wanting to verify that the set succeeded. This means the click will do its job, but the playback engine can't verify that it did his job.

Can you try disabling the property verification by adding the following code:

Playback.PlaybackSettings.SkipSetPropertyVerification = true;

Upvotes: 1

Related Questions