How to run the tests on chrome using the jenkins

2,508 views
Skip to first unread message

pawan

unread,
Feb 28, 2012, 9:07:58 AM2/28/12
to webdriver
Hi all,
I am new to webdriver,
and i am using jenkins to run the tests, and when i am trying to
launch the test on chrome i am facing an issue.
i ahve configured all the things for chromedriver.exe.
After running the testthrough jenkins, it is throwing some error,
which i am not getting.
So can any one please help me with this, following is the error i am
getting

Feb 28, 2012 4:59:35 AM org.openqa.selenium.remote.RemoteWebDriver
execute
INFO: Executing: [null, newSession
{"desiredCapabilities":"Capabilities [{platform=ANY,
browserName=chrome, version=}]"}]
Started ChromeDriver
port=49080 version=18.0.1022.0
log=C:\workspace\SanityFB\bin\chromedriver.log
.\test\automation\proxy_launcher.cc(106): error: Value of:
app_launched Actual: 1 Expected: AUTOMATION_SUCCESS Which is: 0 Error
while awaiting automation ping from browser process
.\test\automation\proxy_launcher.cc(303): error: Value of:
browser.get() Actual: false Expected: true

Jakub Siberski

unread,
Feb 28, 2012, 12:11:21 PM2/28/12
to webd...@googlegroups.com
maybe path to Chrome?
If it is not in default path, you need to provide it to chromedriver.
Also on win-64 and win-32 'default' paths to chrome may be different. 
(just guessing)




--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.




--
Pozdrawiam
Jakub Siberski

Aditya Dhingra

unread,
Feb 29, 2012, 1:36:05 AM2/29/12
to webdriver
Which version of Jenkins are you using? I have the tests running fine
on Jenkins ver. 1.446

pawan

unread,
Mar 2, 2012, 6:58:27 AM3/2/12
to webd...@googlegroups.com
Hi Aditya,
Thanks for the reply,

My jenkin is not able to open the browser with chrome, as you can see in the error i have pasted above,
Can you please send me the code you are ussing to run the tests in chrome,
or some help like how to run my test on chrome.

pawan

unread,
Mar 2, 2012, 7:01:57 AM3/2/12
to webd...@googlegroups.com
And Ya one more thing i am using my Jenkin as Windows service, jenkin Run tests with out opening the real browser. 


On Wednesday, February 29, 2012 12:06:05 PM UTC+5:30, Aditya Dhingra wrote:

pawan

unread,
Mar 2, 2012, 8:57:36 AM3/2/12
to webdriver
HiAditya ,
R u running jenkin as a windows services ??, because i just figured
out that this error is coming for jenkin as windows services.

Aditya Dhingra

unread,
Mar 2, 2012, 11:31:58 AM3/2/12
to webdriver
I was facing same kind of issue with my earlier version oh Jenkins and
then i upgraded it and it worked fine...

All i am doing is running Jenkins.war from command prompt and then i
open the Jenkins web page on my browser and create a new job configure
it and run my tests from there. So all i did was upgrade.

Now i have done scheduling so i just have to keep jenkins server
running and it works like a charm on scheduled time.

Reply all
Reply to author
Forward
0 new messages