在仪器测试中自动转换的字符(Character from being automatically convert in the Instruments testing)
我正在使用仪器进行测试。 我正在尝试在文本框中输入字符串,如下所示。
target.frontMostApp().mainWindow().tableViews()["Empty list"].cells()["Server"].textFields()[0].tap(); target.frontMostApp().keyboard().typeString("https");但是,“https”将以“http a”结束。 原因是预测性转换是否有任何措施?
I'm in the test using the instruments. I'm trying to enter the string in the text box as follows.
target.frontMostApp().mainWindow().tableViews()["Empty list"].cells()["Server"].textFields()[0].tap(); target.frontMostApp().keyboard().typeString("https");But, "https" is will end up with "http a". The cause is predictive conversion Is there any measures?
最满意答案
我通过关闭自动收集解决了这个问题。 谢谢!
I solved the problem by turning off the auto-collection. Thanks!
更多推荐
发布评论