Reputation: 729
I want to run my Selenium HTML Test Suite through Jenkins (a continuous integration). The following shows, how the build is configured for the current project:
And here's the console output after commiting a new test for example:
ERROR: The suiteFile is not a file or an url ! Check your build configuration.
Build step 'SeleniumHQ htmlSuite Run' changed build result to FAILURE
Build step 'SeleniumHQ htmlSuite Run' marked build as failure
Publishing Selenium report...
Finished: FAILURE
In fact, I get these log issues even after committing both extensionless test files AND .html files.
Upvotes: 0
Views: 5282
Reputation: 4327
Your suiteFile is written with wildcard as: tests/selenium/*.html. I think it is wrong. You need to provide the exact/absolute path to your suite without the wildcard as below:
tests/selenium/suite.html
Upvotes: 0
Reputation: 344
SeleniumHQ Jenkins plugin supports only ONE suite file per build step. Try out Selunit to run Selenese suites in batch and across multiple browsers. This tutorial shows hot to setup the test execution in Jenkins/Hudson.
Upvotes: 1