Coded UI Test Builder fails to generate code for recorded action

与世无争的帅哥 提交于 2019-12-04 14:39:28

I tried all the items on your list and then the following got it to work:

(Right click):

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CodedUITestBuilder.exe" 

(Check):

"Properties\Compatability\Change settings for all users\Run the program in compatability mode for:" 

(Select):

"Windows 7"

also maybe this:

(Check):

"Properties\Compatability\Change settings for all users\Run this program as an administrator"

I also disabled Malware Bytes but don't think this affected it. I'm not exactly sure whether it was a combination of these but it started working after "Windows 7 Compatability". These are more items you can add to your list at least.

Steve

I had got the same error while trying to record and generate method. I was doing a set of actions including a calendar control date entry.

I did each step as a separate recorded method and I was able to figure the issue was with Calendar pop up. So completed the script with descriptive code on that and recorded the rest of the actions.

Please check if your application has a custom control which is causing this issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!