application.textViews [" Personal Information"]在UI测试用例中没有给我一个textview

时间:2018-01-29 13:09:06

标签: coded-ui-tests xcode-ui-testing ui-testing uitest

最近我开始学习UITest案例写作的基础知识。

我正在尝试这样的textview。我不确定我在这里做错了什么。

let taskPersonalInformationTextView = application.textViews["Personal Information"]
taskPersonalInformationTextView.tap()   
taskPersonalInformationTextView.typeText("Sample UI Testing TASK Personal Information")

请查看UITextview在不同视图容器中的位置。

enter image description here

enter image description here

如果我在这里错了,请纠正我。

0 个答案:

没有答案