简体   繁体   English

Appium - 使用 uiautomatorviewer 为我的应用程序中的 Instagram 故事等功能截屏时出错

[英]Appium - Getting Error while taking screenshot with uiautomatorviewer for Instagram story like feature in my app

I am automating an app which has Instagram story or WhatsApp status like feature where user upload content and when I am trying to take screenshot I am getting below error.我正在自动化一个具有 Instagram 故事或 WhatsApp 状态的应用程序,例如用户上传内容的功能,当我尝试截取屏幕截图时,我遇到了错误。

Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!获取 UI 层次结构 XML 文件时出错:com.android.ddmlib.SyncException:远程 ZA8CFDE63331BD59EB2ACZ66F8 不存在!

I assume content in UI is getting changed too quickly, tool is not able to capture it, can anyone help me capturing screenshot for this page.我认为 UI 中的内容变化太快,工具无法捕获它,任何人都可以帮我捕获此页面的屏幕截图。 Note - Appium server is not running.注意 - Appium 服务器没有运行。

Did you try driver.get_screenshot_as_base64() ?你试过driver.get_screenshot_as_base64()吗?

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

相关问题 使用 uiAutomatorviewer 截屏时出错 - Error while taking screenshot using uiAutomatorviewer Appium 测试使用 java 11 执行,而 uiautomatorviewer 抛出错误。 java 11 是否支持 uiautomatorviewer? - Appium tests executes with java 11 while uiautomatorviewer throws an error. Is uiautomatorviewer supported by java 11? 使用UIAUTOMATOR从我的Android设备获取设备屏幕截图时,获得权限被拒绝的错误 - Getting permission denied error while taking device screenshot from my android device by using UIAUTOMATOR 如何在我的 android 应用程序中将 Instagram 分享添加到故事按钮 - how to add instagram share to story button in my android app 错误:无法捕获屏幕截图-使用量角器和Appium的Android混合应用 - Error: Unable to capture screenshot - Android hybrid app using Protractor and Appium 实施故事回复,如 Instagram Android - Implement story reply like Instagram Android 截图崩溃应用 - Taking screenshot crashes app UiAutomatorViewer 根本不捕获屏幕截图 - UiAutomatorViewer Not capturing screenshot at all 在 ubuntu 15.10 中运行 uiautomatorviewer 时出错 - Error while running uiautomatorviewer in ubuntu 15.10 UIAutomatorViewer 的替代品,用于在运行时检查 Android 应用程序 - Alternatives to UIAutomatorViewer to inspect an Android app while running it
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM