Code Monkey home page Code Monkey logo

auto_phone's Introduction

auto_phone

allure generate result -o report --clean

console: pytest --reruns=1 --reruns-delay=2 --alluredir result

/Users/xiaoqiang/Downloads/sdk/build-tools/30.0.3/aapt dump badging xxx.apk

安装android sdk,xcode
配置ANDROID_HOME
brew install libimobiledevice --HEAD
brew install carthage
brew install node
npm install -g appium
npm install wd
npm install -g ios-deploy
gem install xcpretty  # optional
appium-doctor 检查安装安装组件是否有问题
/opt/homebrew/Cellar/ios-deploy/1.11.4/bin

ios 真机运行

配置WebDriverAgent
https://github.com/facebookarchive/WebDriverAgent
运行初始化脚本
用xcode打开 WebDriverAgent.xcodeproj
WebDriverAgentLib-->Signing & capablities-->勾选Automatically manage signing-->选择team
    Build Settings-->Build active Architecture Only-->No --->>Linking-->Runpath Search Paths-->$(SRCROOT)/../Carthage/Build/iOS,$(PROJECT)/Carthage/Build/iOS
    Packing -->Product Bundle Identifier --> com.trip.WebDriverAgentLib
WebDriverAgentRunner-->Signing & Capablities -->勾选Automatically manage signing-->选择team
Product --> Destination --> real device
Product --> Scheme -->WebDriverAgentRunner
Product --> Test
启动ios真机的参数
"platformName": "ios",
"platformVersion": "14.7",
"udid": "00008030-000A108A3AA0802E",
"deviceName": "iPhone 11 pro",
"automationName": "XCUITest",
"bundleid": "com.trip.WebDriverAgentLib",
"xcodeOrgid": "[email protected]",
"xcodeSigningId": "iPhone Developer"
可能的报错
如果报错找不到xcode,执行如下操作,最后边是xcode的安装路径
sudo xcode-select --switch /Applications/Xcode.app

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.