Hello,
Can anybody help me out on this. I am trying to run sample program in robot framework using Python 2.7 and Selenium Library 2 on Windows 7 machine but it showing me below.
Also downloaded geckodriver exe for 64 bit and 32 bit & tried both by setting path under environment variable but it not works for me.
Exception for Firefox :-
Starting test: Test.Login Should Failed With Unregistered Mail Address
20170417 09:27:20.114 : FAIL : No browser is open
20170417 09:27:20.117 : WARN : Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open
20170417 09:27:20.119 : FAIL :
WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
Ending test: Test.Login Should Failed With Unregistered Mail Address
Exception for Chrome :-
Starting test: Test.Login Should Failed With Unregistered Mail Address
20170417 09:28:44.883 : FAIL : No browser is open
20170417 09:28:44.884 : WARN : Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open
20170417 09:28:44.888 : FAIL :
Ending test: Test.Login Should Failed With Unregistered Mail Address
---------------------------------------------------------------------------------------------------------------------------------------------
Also showing warning as '[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open'.
Could anybody help me out in this to fix this issue?
I am currently using FF Version 46.0.1 & Chrome Version 57.0.
Thanks,
Amol