当前位置:   article > 正文

IOS定位元素常用场景_xcuielementtypetextfield

xcuielementtypetextfield

 

accessibility = "-btn-title"

iOSNsPredicate = "label == \"85K\" AND name == \"85K\" AND value == \"85K\""
iOSNsPredicate = "label == \"32.5M\""
iOSNsPredicate = "name == 'GOAL_PORTFOLIO_DETAIL-btn-buy'"
iOSNsPredicate = "name IN {'header-back', 'btnBackContainer'}"
xpath = "//*[@name='-title']/.."
xpath ="//XCUIElementTypeOther[@name=\"HKD\"]/XCUIElementTypeOther[1]/XCUIElementTypeTextField"

xpath = "//XCUIElementTypeScrollView/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]//XCUIElementTypeTextField"
xpath = "//XCUIElementTypeImage/../..//XCUIElementTypeStaticText"

xpath = "//XCUIElementTypeStaticText[@label='Next']/.."
xpath = "//*[starts-with(@name, 'Total balance')]
xpath = "//*[contains(@name, 'WeLab')]"

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/104385
推荐阅读
相关标签
  

闽ICP备14008679号