(eight) Appium+python+jenkins iOS test

Source: Internet
Author: User
Tags appium

Project Code:

Https://github.com/ellisa11/ynoteios-appium-test


Project structure:

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/8E/F1/wKioL1jPkyCiHQGiAARPqd8_TAM952.png-wh_500x0-wm_ 3-wmp_4-s_2368621470.png "title=" is not named. png "alt=" wkiol1jpkycihqgiaarpqd8_tam952.png-wh_50 "/>



650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/8E/F3/wKiom1jPk1SghdyoAAMFi3JcfII601.png-wh_500x0-wm_ 3-wmp_4-s_1875326919.png "title=" is not named. png "alt=" wkiom1jpk1sghdyoaamfi3jcfii601.png-wh_50 "/>



Jenkins Configuration:

Mac Configuration Jenkins

Steps:

1. Download Tomcat

Installing wget

Brew Install wget

Download Tomcat

wget Http://apache.mirrors.ionfish.org/tomcat/tomcat-9/v9.0.0.M10/bin/apache-tomcat-9.0.0.M10.zip

Extract

UNAIP apache-tomcat-9.0.0.m10.zip MV Apache-tomcat-9.0.0.m10.zip tomcat_jenkins

650) this.width=650; "src=" http://note.youdao.com/yws/res/3027/F43194E116504C7784D9C44B5943E2A9 "title=" Apache-tomcat-7.0.68.zip "alt=" Apache-tomcat-7.0.68.zip "/>

2. Download jenkin (corresponding Mac)

*.war file

https://jenkins.io/

3. Copy the Jenkins.war file to the Jenkins/tomcat_jenkins/webapps, and then delete the ROOT file, rename Jenkins.war-Root.war

4. Create a new setenv.sh file in the Jenkins/tomcat_jenkins/bin directory ,

The contents are as follows:

Export Jenkins_home=/users/wujia/documents/jenkins

5. Start Tomcat

CD Jenkins/tomcat_jenkins

SH ~/.startup.sh

6. The browser opens http://127.0.0.1:8080/

Add HTML display to the results

1. Download and install Jenkins insert a Htmlpublisher

2. The HTML report has garbled characters, the solution:

In the Jenkins System Administration > Script Command line, enter the following script to run:

System.setproperty ("Hudson.model.DirectoryBrowserSupport.CSP", "" ")


(eight) Appium+python+jenkins iOS test

Related Article

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.