ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

watir scripts integrated with jenkins fails for Chrome browser #970

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My scripts works when i run then manually in command prompt using chrome 
browser.
When I try to integrate my scripts with Jenkins ( in windows 7 64) , always 
fails. Unable to open chrome.

I have the PATH set for Chromedriver & Ruby.Please advice.

Errors:
Building in workspace C:\Program Files (x86)\Jenkins\jobs\DIRECTORY\workspace
[workspace] $ cmd /c call 
C:\Users\UC100940\AppData\Local\Temp\hudson8033692977468180302.bat

C:\Program Files 
(x86)\Jenkins\jobs\DIRECTORY\workspace>C:\Users\UC100940\Desktop\jenky.bat

C:\Program Files (x86)\Jenkins\jobs\DIRECTORY\workspace>c:

C:\Program Files (x86)\Jenkins\jobs\DIRECTORY\workspace>cd C:\Users\UC100940\ 

C:\Users\UC100940>ruby C:\Users\UC100940\Desktop\h1.rb 
C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in rbuf_fill': 
Timeout::Error (Timeout::Error)
    from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:140:in `rbuf_fill'
    from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
    from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2563:in `read_status_line'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2552:in `read_new'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1320:in `block in transport_request'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1294:in `request'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1287:in `block in request'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:746:in `start'
    from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1285:in `request'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/default.rb:83:in `response_for'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/default.rb:39:in `request'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:638:in `raw_execute'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:616:in `execute'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:110:in `get'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/common/navigation.rb:14:in `to'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.11/lib/watir-webdriver/browser.rb:77:in `goto'
    from C:/Users/UC100940/Desktop/h1.rb:13:in `<main>'

Original issue reported on code.google.com by vr.sures...@gmail.com on 7 Nov 2014 at 4:49

GoogleCodeExporter commented 9 years ago
I'm using WATIR

Original comment by vr.sures...@gmail.com on 7 Nov 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Even I'm facing the same issue. I have increased the client timeout as well but 
still unable to get it working. It works fine with firefox browser. facing this 
only with chrome 

Original comment by Mahabale...@gmail.com on 27 Nov 2014 at 3:39

GoogleCodeExporter commented 9 years ago
Can you provide  simple/small  
1. WATIR script 
2. Ruby test program
3. HTML test

   so that I can run it quickly 

Original comment by andrewch...@chromium.org on 2 Dec 2014 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18