简体   繁体   English

Appium Inspector启动,但在iOS屏幕上没有显示UI内容

[英]Appium Inspector launches but shows no UI contents on the screen for iOS

I have installed appium Version 1.4.13 (Draco). 我已经安装了appium版本1.4.13(Draco)。

In the appium iOS configuration provided the following details 在appium iOS配置中提供了以下详细信息

a. 一种。 app path /Users/mac/Documents/testing/automationTesting.app b. 应用程序路径/Users/mac/Documents/testing/automationTesting.app b。 Force device iphone6, 3. platform version 8.2 4. unchecked the UDID and bundle ID. 强制设备iphone6,3.平台版本8.2 4.取消选中UDID和捆绑包ID。 The .app was generated using Xcode ver 7.0.1 .app是使用Xcode 7.0.1版生成的

After launching the appium and getting the response code 200, i tried to launch the inspector and it gets launched successfully. 启动appium并获得响应代码200后,我尝试启动检查器,然后成功启动了它。

I see the below debug info on the appium console info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}} info: <-- GET /wd/hub/status 200 1.036 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}} 我在appium控制台信息上看到以下调试信息:[debug]成功响应客户端:{“ status”:0,“ value”:{“ build”:{“ version”:“ 1.4.13”,“ revision “:” c75d8adcb66a75818a542fe1891a34260c21f76a“}}}信息:<-GET / wd / hub / status 200 1.036 ms-105 {” status“:0,” value“:{” build“:{” version“:” 1.4.13 “,”修订“:” c75d8adcb66a75818a542fe1891a34260c21f76a“}}}

Where as no images are getting loaded in the inspector and also the iOS simulator which was running before gets disappeared. 由于没有图像加载到检查器中,因此之前运行的iOS模拟器也消失了。

I have also looked into the below stack over flow urls and ensured that the steps are followed 我还研究了以下有关流URL的堆栈,并确保遵循了以下步骤

Appium Inspector not able to load image Appium Inspector无法加载图像

appium inspector not running on mac Appium检查器未在Mac上运行

Any inputs/suggestions would be of help 任何意见/建议都将有所帮助

Option 1: Instead of simulator i tried to configure the appium to run on the device by providing the UDID and bundle ID. 选项1:我尝试通过提供UDID和捆绑ID而不是模拟器来配置appium以在设备上运行。 I was able to launch the inspector successfully and get the UI elements values required for automation. 我能够成功启动检查器并获得自动化所需的UI元素值。

Option 2: I had upgraded the xcode to the latest version and it started launching the inspector in the simulator mode itself. 选项2:我已经将xcode升级到最新版本,并且它开始以模拟器模式本身启动检查器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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