在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:AirtestProject/iOS-Tagent开源软件地址:https://github.com/AirtestProject/iOS-Tagent开源编程语言:Objective-C 94.3%开源软件介绍:iOS-Tagent IntroductioniOS-Tagent is a project based on facebook WebDriverAgent and intend to fit Airtest Project. We make some customized optimization and adjustments to it and it works well in:
Other versions of Xcode and iOS are not fully tested and may cause unexpected errors. If you need README in Chinese, click here(如需中文文档,请点击这里) Getting StartedTo perform Airtest in iOS, the following steps are required 1. iOS-TagentCreate a WebDriver server on your iPhone which makes it possible to remote control iOS devices and locate UI elements.
More about how to start WebDriverAgent here and here 2. Set up proxyiproxy maps the iPhone port to the Mac port, so you can access the phone by accessing the Mac. You need to set up the usb proxy to access the Agent on the actual phone, as there may be problems when accessing directly through wifi. For more information, check Issues and detail The original source code of iproxy is shown in https://github.com/libimobiledevice/libimobiledevice
Then try to access http://127.0.0.1:8100/status in your mac browser. If a json data about your iPhone is returned, it means iproxy started successfully. Moreover, you can see iPhone screen projected on the browser by visiting http://127.0.0.1:8100/inspector . Note that iproxy can only listen to localhost. If you want to connect iPhone on AirtestIDE on a windows OS, you can try wdaproxy. The specific steps are as follows:
3. AirtestIDEConnect to the iPhone by ip address, refresh screen, run tests After the above two steps, you can fill "http://127.0.0.1:8100" in the iOS address input box of AirtestIDE. Click button "connect" to connect your iPhone and start your Airtest test. Note that you can also view the device Hierarchy This feature work with Poco and AirtestIDE. Q & AWe have collected a series of common issues on our Q&A. If you have any questions, please take a look at these first. If you can't find your issue here, or you have any suggestion, please feel free to post it in Issues.
API statusThis project intend to work with AirtestIDE and AirtestFramework Common API in Airtest is supported
except:
LicenseThis project is based on WebDriverAgent : WebDriverAgent is BSD-licensed . We also provide an additional patent grant. Have fun with Airtest! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论