简体   繁体   中英

Appium iOS test without using Simulator

Is it possible to run iOS appium tests without using real device or iOS simulator? using some sort or headless mode?

I suspect by "iOS simulator" you mean Simulator.app. Simulator.app is just the head to the system, and you can run your tests headless in the simulator using the simctl command line tool.

Eg:

xcrun simctl boot <device UDID>
xcrun simctl install <device UDID> /path/to/app/to/install.app
xcrun simctl launch <device UDID> <app identifier>
xcrun simctl spawn <device UDID> /path/to/executable/to/spawn

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM