Robot Framework Script - chromedriver.exe' executable needs to be in PATH.

428 views
Skip to first unread message

Automation S

unread,
Apr 9, 2020, 4:02:19 AM4/9/20
to robotframework-users
Hi,

I have added browser.exe path at project level and also given proper exe path in the script. As per the given path script running fine on my local machine
But when I am trying to run same script on Jenkins getting below error "chromedriver.exe' executable needs to be in PATH."

KIndly look into this and let me know what changes are missing


Thanks,
Automation

Narasareddy K

unread,
Apr 9, 2020, 5:16:13 AM4/9/20
to devayani...@gmail.com, robotframework-users
You can give that path in environmental variables.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/502e11e6-bf39-4f36-a1bc-bc27ee5bbef0%40googlegroups.com.

Automation S

unread,
Apr 9, 2020, 6:26:53 AM4/9/20
to robotframework-users
Could you please provide more details?.I didnt understand. I am having issue on Jenkins 


On Thursday, April 9, 2020 at 2:46:13 PM UTC+5:30, Narasareddy K wrote:
You can give that path in environmental variables.

On Thu, 9 Apr, 2020, 13:32 Automation S, <devayan...@gmail.com> wrote:
Hi,

I have added browser.exe path at project level and also given proper exe path in the script. As per the given path script running fine on my local machine
But when I am trying to run same script on Jenkins getting below error "chromedriver.exe' executable needs to be in PATH."

KIndly look into this and let me know what changes are missing


Thanks,
Automation

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Narasareddy K

unread,
Apr 9, 2020, 6:30:06 AM4/9/20
to devayani...@gmail.com, robotframework-users
Take the chrome driver path and add in system / advanced system settings/ environmental variables

On Thu, 9 Apr, 2020, 15:56 Automation S, <devayani...@gmail.com> wrote:
Could you please provide more details?.I didnt understand. I am having issue on Jenkins 

On Thursday, April 9, 2020 at 2:46:13 PM UTC+5:30, Narasareddy K wrote:
You can give that path in environmental variables.

On Thu, 9 Apr, 2020, 13:32 Automation S, <devayan...@gmail.com> wrote:
Hi,

I have added browser.exe path at project level and also given proper exe path in the script. As per the given path script running fine on my local machine
But when I am trying to run same script on Jenkins getting below error "chromedriver.exe' executable needs to be in PATH."

KIndly look into this and let me know what changes are missing


Thanks,
Automation

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/ef753048-374e-4fbf-a921-ba8833c0c2cd%40googlegroups.com.

Automation S

unread,
Apr 9, 2020, 6:35:37 AM4/9/20
to robotframework-users
But Jenkins server is hosted somewhere so in that case how to handle it?


On Thursday, April 9, 2020 at 4:00:06 PM UTC+5:30, Narasareddy K wrote:
Take the chrome driver path and add in system / advanced system settings/ environmental variables

On Thu, 9 Apr, 2020, 15:56 Automation S, <devayan...@gmail.com> wrote:
Could you please provide more details?.I didnt understand. I am having issue on Jenkins 

On Thursday, April 9, 2020 at 2:46:13 PM UTC+5:30, Narasareddy K wrote:
You can give that path in environmental variables.

On Thu, 9 Apr, 2020, 13:32 Automation S, <devayan...@gmail.com> wrote:
Hi,

I have added browser.exe path at project level and also given proper exe path in the script. As per the given path script running fine on my local machine
But when I am trying to run same script on Jenkins getting below error "chromedriver.exe' executable needs to be in PATH."

KIndly look into this and let me know what changes are missing


Thanks,
Automation

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

gowrav reddy

unread,
Apr 14, 2020, 10:25:26 AM4/14/20
to devayani...@gmail.com, robotframework-users
I’m facing this issue with RIDE .. with in RIDE if I trigger 10 test cases in Test suite , First 1 and 2 test cases are running fine but from 3 on wards all the test cases are failing with "chromedriver.exe' executable needs to be in PATH. 

On Thu, 9 Apr 2020 at 11:28, gowrav reddy <gowr...@gmail.com> wrote:
Hi , 
I’m also facing similar issue I have 10 test cases and if I select all 10 to trigger first 2 test cases getting passed and from 3 onwards all test cases failing saying "chromedriver.exe' executable needs to be in PATH.

Don’t know how first 2 test cases are getting passed and why the problem from 3rd test case.

Please any help here much appreciated

Thanks in advance


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

gowrav reddy

unread,
Apr 14, 2020, 10:25:27 AM4/14/20
to devayani...@gmail.com, robotframework-users
Hi , 
I’m also facing similar issue I have 10 test cases and if I select all 10 to trigger first 2 test cases getting passed and from 3 onwards all test cases failing saying "chromedriver.exe' executable needs to be in PATH.

Don’t know how first 2 test cases are getting passed and why the problem from 3rd test case.

Please any help here much appreciated

Thanks in advance

On Thu, 9 Apr 2020 at 10:02, Automation S <devayani...@gmail.com> wrote:

Narasareddy K

unread,
Apr 14, 2020, 10:35:00 AM4/14/20
to devayani...@gmail.com, robotframework-users
Can you pls provide the Jenkins configuration, how u configure with screen shots

On Thu, 9 Apr, 2020, 16:05 Automation S, <devayani...@gmail.com> wrote:
But Jenkins server is hosted somewhere so in that case how to handle it?

On Thursday, April 9, 2020 at 4:00:06 PM UTC+5:30, Narasareddy K wrote:
Take the chrome driver path and add in system / advanced system settings/ environmental variables

On Thu, 9 Apr, 2020, 15:56 Automation S, <devayan...@gmail.com> wrote:
Could you please provide more details?.I didnt understand. I am having issue on Jenkins 

On Thursday, April 9, 2020 at 2:46:13 PM UTC+5:30, Narasareddy K wrote:
You can give that path in environmental variables.

On Thu, 9 Apr, 2020, 13:32 Automation S, <devayan...@gmail.com> wrote:
Hi,

I have added browser.exe path at project level and also given proper exe path in the script. As per the given path script running fine on my local machine
But when I am trying to run same script on Jenkins getting below error "chromedriver.exe' executable needs to be in PATH."

KIndly look into this and let me know what changes are missing


Thanks,
Automation

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/ebfce440-2668-45f4-8eb2-4c7385f4feb0%40googlegroups.com.

Sreeram R

unread,
Apr 14, 2020, 2:39:09 PM4/14/20
to gowr...@gmail.com, devayani...@gmail.com, robotframework-users
100%, the problem is with the chromedriver path.

Chromedriver path should be known to each and every TC.

For your 1st & 2nd TC, chromedriver path is known whereas the chromedriver path is NOT KNOWN for other TC's

Try keeping the chromedriver path at the root level, and try to run all the TC's from the root level giving their full path which should resolve the issue.

Thanks
Sreeram

Reply all
Reply to author
Forward
0 new messages