Chrome Automation扩展已崩溃。单击此气球以重新加载扩展 [英] Chrome Automation extension has crashed. Click this balloon to reload the extension

查看:1399
本文介绍了Chrome Automation扩展已崩溃。单击此气球以重新加载扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 



我需要执行自动化测试用例,重复使用Coded UI编写的脚本和Chrome,为此我正在使用库"用于编码UI跨浏览器测试的Selenium组件"它适用于Windows 7 Professional SP1。但是,当我用b $ b尝试在具有"Windows Server 2012 R2 Standard"的服务器中执行相同的项目时Chrome会显示以下消息:"Chrome Automation扩展程序已崩溃。点击此气球重新加载扩展程序"并且chrome驱动程序不会加载
URL来启动测试。最后测试失败 它会显示超时错误消息。此外,当脚本启动chrome驱动程序时,你知道命令提示符也会启动,我意识到当我在Windows 7中执行时,它显示的错误消息不会出现
, 错误:browser_gpu_channel_host_factory.cc(121)无法启动GPU进程。 

Hi All, 

I need to execute automated test cases reusing the scripts written in Coded UI with Chrome and for this purpose I am using the library "Selenium components for Coded UI Cross Browser Testing" and It works on Windows 7 Professional SP1. But when I try to execute the same project in a server with "Windows Server 2012 R2 Standard" Chrome displays the message: "Chrome Automation extension has crashed. Click this balloon to reload the extension" and the chrome driver does not load the URL to start the test. Finally the Test fails  and it displays a time out error message. In addition when the script launches the chrome driver as you know a command prompt is also launched and I realized that it displays an error message that does not appear when I execute in windows 7,  ERROR: browser_gpu_channel_host_factory.cc(121) Failed to launch GPU Process. 

其他技术信息:

Visual Studio v2015。 

Visual Studio v2015. 

Chrome驱动程序v2.33

Chrome Driver v2.33

Selenium Components v3.9.1

Selenium Components v3.9.1

谷歌浏览器v64.0.3282

Google Chrome v64.0.3282

推荐答案

Hi Albertox86,

欢迎来到MSDN论坛。

我测试你的问题使用Windows Server 2012 R2 Standard机器中的Visual Studio 2015,它工作正常。

请确保" Selenium组件
用于编码用户界面跨浏览器测试
"和chrome安装在Windows Server上2012 R2标准机器。

Please make sure "Selenium components for Coded UI Cross Browser Testing" and chrome is install on the Windows Server 2012 R2 Standard machine.

请不要以管理员身份运行chrome,也不要以管理员身份运行你的selenium应用程序,检查结果。具有类似问题的参考线程:

https: //stackoverflow.com/questions/34164831/selenium-crashing-chrome-automation-extension-has-crashed

问候,

Judyzh


这篇关于Chrome Automation扩展已崩溃。单击此气球以重新加载扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆