Jenkins Automated Testing

Source: Internet
Author: User
Tags seleniumhq
Http://www.yiibai.com/jenkins/jenkins_automated_testing.html#article-start
A fundamental principle of continuous integration is that the build should be verifiable. You must be able to objectively determine whether a particular build is ready for the next stage of the build process, and the most convenient way to do this is to use automated testing. Without proper automated testing, you will find that you have to keep many manually generated artifacts, which is almost continuous integration testing. The following example shows how to run an automated Web test using selenium. 1th Step-Enter the admin plugin.
2nd Step-Locate the Hudson Selenium plugin and select Install. Restart the Jenkins instance.

3rd Step-Go to configuration system.

4th Step-Configure the Selenium server jar and click the Save button.

Note-Selenium jar file can be downloaded SELENIUMHQ: Click on the standalone server to download Selenium.
5th Step-Return to the dashboard and click the Configure (Configure) option HelloWorld Project.

6th Step-click the Add build step and select the "Seleniumhq htmlsuite Run" option.

7th Step-Add the necessary details to the selenium test. Here, Suitefile is using the Selenium IDE to generate the Testsuite. Click Save and perform the build. The post-build will now start the selenium driver and perform an HTML test.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.