Python3: Timed execution of automated test scripts

Source: Internet
Author: User

1.windows Task Scheduler timed execution script

(1) Create a. bat file, execute a script command (Interface.bat)

CD C:\Users\xx\Documents\GitHub\python3\mainpython run_test.py

(2) Computer right--management--Task Scheduler--Create task

Select the. bat file path created in (1), click OK, task new complete

2.jenkins continuous integration, timed execution of scripts

(1) Jenkins Environment installation

jenkins:https://jenkins.io/download/, download. War pack

Installing with a. Bat script

Set jenkins_home=/d%jenkins_home%-jar%jenkins_home%\jenkins.war--httpport=8080

After the installation is complete, the browser login http://localhost:8080/

(2) New Scheduled Tasks

Description: The schedule is minute-hour-day-month-week

Build complete, report to save. Arrive at the appropriate time and execute regularly

Python3: Timed execution of automated test scripts

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.