Hi Team,
I had created one test suite and now I wanted to run this on my Linux Development server.
I have installed python and robotic packages in server.
robotframework 6.1.1
robotframework-datadriver 1.7.0
robotframework-pythonlibcore 4.2.0
robotframework-seleniumlibrary 6.2.0
So I have to create JAR file for this and use this in server or any other approaches to run suite in Linux server.
Chrome/edge driver also need to be installed in server to run the suites???
Please help me with the process.
There is no jar files for python / robot framework. Suggested steps to deploy for CI is:
create virtual environment
install all dependencies either via requirements.txt or pyproject.toml
run your tests.
Selenium (the upstream project of SeleniumLibrary) will now automatically download suitable webdrivers so you don’t need to deploy them in most cases. YMMV
LoginTest | FAIL |
NoSuchDriverException: Message: Unable to obtain driver for chrome using Selenium Manager.; For documentation on this error, please visit: Unable to Locate Driver Error | Selenium
that’s the “YMMV” (your mileage may vary) part. As seen in your error message, its coming from “selenim-manager” which is the tool that selenium uses to automatically download the correct webdriver. Possible reasons for this is that your CI node cant reach all the needed sites to download the correct one.
In this case, you need to provide the correct one by some other means.