2016-10-28 22 views
-1

Chrome(selenium/Ruby)でテストを実行しようとすると、次のエラーが発生します。誰でもこの問題を解決するのに役立つでしょうか?子プロセスの起動に失敗しました

エラー: -

Background: Login to app # tests\integration\channels.feature:3 [6100:7920:1028/134946:ERROR:child_process_launcher.cc(533)] Failed to launch child process [6100:9520:1028/134946:ERROR:child_process_launcher.cc(533)] Failed to launch child process [6100:9520:1028/134946:ERROR:child_process_launcher.cc(533)] Failed to launch child process [6100:9520:1028/134949:ERROR:child_process_launcher.cc(533)] Failed to launch child process [6100:9520:1028/134955:ERROR:child_process_launcher.cc(533)] Failed to launch child process [6100:9520:1028/135006:ERROR:child_process_launcher.cc(533)] Failed to launch child process rake aborted!

宝石がインストールされている次のとおりです。 - * LOCAL GEMS *

bigdecimal (default: 1.2.0) 
builder (3.2.2) 
bundle (0.0.1) 
bundler (1.13.6, 1.11.2) 
childprocess (0.5.0) 
cucumber (2.4.0, 1.3.2) 
cucumber-core (1.5.0) 
cucumber-wire (0.0.1) 
debase (0.2.1, 0.1.4) 
debase-ruby_core_source (0.9.2) 
diff-lcs (1.2.5) 
ffi (1.9.14 x86-mingw32) 
gherkin (4.0.0, 2.12.2 x86-mingw32) 
io-console (default: 0.4.2) 
json (2.0.2, default: 1.7.7) 
minitest (default: 4.3.2) 
multi_json (1.12.1, 1.11.2) 
multi_test (0.1.2) 
parallel (1.6.1) 
parallel_tests (1.3.7) 
psych (default: 2.0.0) 
rake (10.1.0, default: 0.9.6) 
rdoc (default: 4.0.0) 
ruby-debug-ide (0.6.0, 0.4.32) 
rubyzip (1.2.0, 1.1.7) 
selenium-webdriver (2.52.0, 2.48.0, 2.46.2) 
test-unit (default: 2.0.0.0) 
websocket (1.2.3, 1.2.2) 

を私は使用しています: - 事前に

ruby '2.0.0' 

gem 'cucumber', '1.3.2' 
gem 'selenium-webdriver', '2.53.0' 
gem 'rake', '10.1.0' 
gem 'appium_lib', '8.0.2' 
gem 'json', '1.8.3' 

gem 'parallel_tests', '1.3.7' 

感謝!

答えて

0

私はChrome 54.0.2840.71でも同じ問題があります。この問題は、管理者としてChromeを実行しているときにのみ表示されます(Windowsの場合)。

  1. adminとして実行している場合は、unelevatedを実行してください。問題が解決する可能性があります。

  2. 起動時にChrome Zygoteプロセスを無効にします。注意してください。これはクロームサンドボックスを無効にし、セキュリティ上のリスクを伴う可能性があります。

    chrome.exe --no-zygote --no-sandbox

関連する問題