I have a Windows Server 2012 server , with Jenkins and Selenium tests project on this server.
I want to run my tests on the server via Jenkins rebuild event . Is it possible run Selenium tests in browsers (Firefox, Chrome and IE) directly on this server, without separate slave machine ?
Is it possible run Selenium tests in browsers (Firefox, Chrome and IE) directly on this server, without separate slave machine?
Of course.
You have two options:
You can setup a Grid, with only your computer as the node (connecting to itself)
Since it's Windows, it does have a desktop and you will be able to run tests just by setting webdriver.chrome|ie.driver
and as easy as instantiating Chrome|IEDriver()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.