Selenium/How-to/Run tests using selenium-daily Jenkins job

For this example, we will target English Wikipedia at the Beta Cluster. You will need internet access. The job runs once every day, but you can also start them manually.

You can find selenium-EXTENSION-jessie at Jenkins Selenium view.



Advantages

 * You do not have to install anything on your machine.
 * You are probably already familiar with Jenkins.
 * While the tests are running, you can continue using your machine as usual, because everything is happening in Jenkins.
 * Debugging failed tests will be reasonably easy, since you will see logs and screenshots of the test run.
 * It will be reasonable fast.
 * It takes less than two minutes for the Jenkins job to run selenium-RelatedArticles-jessie or selenium-Popups-jessie.

Disadvantages

 * You will need internet connection while running the tests.
 * You might not be familiar with Jenkins, so you will have to learn how to use yet another tool.

Check if the Jenkins job is configured to run for a repository

 * In  look for   job template

Run the Selenium tests

 * Log in to Jenkins.
 * Go to a job. (Examples: selenium-RelatedArticles-jessie, selenium-Popups-jessie.)
 * Click Build with Parameters.
 * Click Build.
 * In Build History a new job will be blinking at the top of the list, for example #106.
 * Click job number, in this case #106.
 * Click Console Output.
 * If the job has been running for a while, there will be Full Log link at the top of the page. You can click it to load the entire console output.