问题
I am not able to execute selenium test cases using robotframework through Jenkins. Installed Firefox, geekodriver.
Works without using Jenkins.
Getting the exception
WebDriverException: Message: Process unexpectedly closed with status: 1
Its a simple test case that has
*** Settings ****
Library Selenium2Library
*** Test Cases ***
Testing Selenium
Open Browser http://google.com Firefox
Jenkins shell command configuration
pybot test.robot
回答1:
Install xvfb in the robotframework server. Also use xvfb plugin in Jenkins.
Seems like xvfb is deprecated and heard that there is a vncserver plugin. Need to try this.
来源:https://stackoverflow.com/questions/48984806/robotframework-selenium-execution-through-jenkins-not-working