简体   繁体   English

无法使用Appium Automation更改iOS手机语言

[英]Unable to change iOS phone language with Appium Automation

I'm evaluating some tools for UI test automation for iOS. 我正在评估iOS的UI测试自动化的一些工具。 One of my key requirements is to be able to change the phone language. 我的一个关键要求是能够更改手机语言。 I'm currently looking at Appium. 我正在看Appium。 However, I can't seem to find a way to change the language of the physical phone or emulator. 但是,我似乎无法找到改变物理手机或模拟器语言的方法。 Is there a way to do this with Appium? 有没有办法用Appium做到这一点?

You can set the server flag --language en when starting from console: node . --language en 从console: node . --language en开始时,可​​以设置服务器标志--language en node . --language en node . --language en or directly from the Appium GUI node . --language en或直接来自Appium GUI Appium GUI

Just to be clear, it's currently not possible to automate the iPhone settings app. 需要明确的是,目前无法自动化iPhone设置应用程序。 Best to use the simulator instead where this is possible. 最好在可能的情况下使用模拟器。

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

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