我从编码的ui工具或MTM 2015运行自动化测试用例时遇到错误System.Runtime.InteropServices.COMException

我从编码的ui工具或MTM 2015运行自动化测试用例时遇到错误System.Runtime.InteropServices.COMException

问题描述:

我正在使用Microsoft测试管理器和CODED UI Tool来自动执行手动测试用例.当我进行记录和播放时,出现此错误.请让我知道如何解决此问题

I am using Microsoft Test Manager and CODED UI Tool to automate manual test cases. when i do a record and playback i am getting this error . Please let me know how i can resolve this issue

嗨TechnetAGP,

Hi TechnetAGP,

根据错误消息,您正在使用Google Chrome,Chrome或Firefox不支持记录操作步骤,您可以检查 文章.

Based on the error message, you are using Google Chrome, recording of actions steps is not supported via Chrome or Firefox, you can check this article.

您需要使用Internet Explorer记录操作步骤,并使用其他浏览器进行播放,这样,您需要为编码UI跨浏览器测试工具安装Selenium组件,并需要检查支持的Google Chrome版本.更多信息, 请参考:

You need to record actions steps by using Internet Explorer and play it back using other browser, for this way you need to install Selenium components for Coded UI Cross Browser Testing tool and need to check supported Google Chrome version. More information, please refer to:

#通过编码的UI测试使用不同的Web浏览器

https://msdn.microsoft.com/library/jj835758.aspx  

致谢

Starain