美文网首页
XCUIElementTypeQueryProvider:为特定

XCUIElementTypeQueryProvider:为特定

作者: Mr_ZhangJun | 来源:发表于2016-12-09 11:46 被阅读160次

——为特定类型的子元素提供现成的查询的类所采用的协议
——这些属性表示暴露于可访问系统中的数据,并在查询匹配过程中可用。
———————————————————————————————————————
Descendant Element Queries

 //常用的
 @property(readonly, copy) XCUIElementQuery *activityIndicators;
 @property(readonly, copy) XCUIElementQuery *alerts;
 @property(readonly, copy) XCUIElementQuery *buttons;
 @property(readonly, copy) XCUIElementQuery *cells;
 @property(readonly, copy) XCUIElementQuery *collectionViews;
 @property(readonly, copy) XCUIElementQuery *datePickers;
 @property(readonly, copy) XCUIElementQuery *groups;
 @property(readonly, copy) XCUIElementQuery *icons;
 @property(readonly, copy) XCUIElementQuery *images;
 @property(readonly, copy) XCUIElementQuery *keyboards;
 @property(readonly, copy) XCUIElementQuery *pickers;
 @property(readonly, copy) XCUIElementQuery *progressIndicators;
 @property(readonly, copy) XCUIElementQuery *scrollViews;
 @property(readonly, copy) XCUIElementQuery *searchFields;
 @property(readonly, copy) XCUIElementQuery *segmentedControls;
 @property(readonly, copy) XCUIElementQuery *secureTextFields;
 @property(readonly, copy) XCUIElementQuery *sliders;
 @property(readonly, copy) XCUIElementQuery *tabBars;
 @property(readonly, copy) XCUIElementQuery *tableRows;
 @property(readonly, copy) XCUIElementQuery *tableColumns;
 @property(readonly, copy) XCUIElementQuery *textFields
 @property(readonly, copy) XCUIElementQuery *textViews;
 @property(readonly, copy) XCUIElementQuery *webViews;
 @property(readonly, copy) XCUIElementQuery *window;;

———————————————————————————————————————

相关文章

  • XCUIElementTypeQueryProvider:为特定

    ——为特定类型的子元素提供现成的查询的类所采用的协议——这些属性表示暴露于可访问系统中的数据,并在查询匹配过程中可...

  • 以特定“时空”为线索

    还有一种创新的写法是,把笔触约束在一个特定的时间和空间里。其中,最著名的应该要算黄仁宇的《万历十五年》了。这本书英...

  • 为特定版本python安装pip

    为特定版本python安装pip

  • UIView的特定角为圆角

    指定某几个角(小于4个)为圆角而别的不变时,这种方法就不好用了。对于这种情况,Stackoverflow上提供了几...

  • 为什么要工作?

    什么是工作?工作是在特定年龄特定需要下必做、想做、要做的事情。 工作可以分为三个阶段:为自己、为他人、为自己。 为...

  • 代码的本质

    软件为特定领域特定用途产生,由代码构成。 软件的本质是解决特定领域特定问题的逻辑自动化。问题是否可解依赖逻辑是否可...

  • 为什么选择DSL(上)

    DSL (domain specific language, 领域特定语言),简单的说,就是为某种特定的目的设计的...

  • 特定

    当一种自己特定喜欢的东西突然间被大众化,也就是放弃了自己的优势,然后就没有什么味道可言了!大部分人都珍惜的是属于自...

  • 指定UIView的特定角为圆角

    如果需要将UIView的4个角全部设为圆角,做法相当简单: 纯代码只需设置其Layer的cornerRadius属...

  • 太极拳的数学公式

    所有的修行方式,其幕后都有其特定的逻辑以及其必然以特定的数学公式,为基础。 以太极拳为例子,太极拳...

网友评论

      本文标题:XCUIElementTypeQueryProvider:为特定

      本文链接:https://www.haomeiwen.com/subject/cpuemttx.html