XCUIElementTypeQueryProvider API

22085 단어
프로토콜 클래스, XCUIElement가 준수하는 프로토콜

변하기 쉬운


이 프로토콜에는 XCUIElementType: Any, Unknown, Application에 의해 정의된 열거 요소보다 3개 적은 76개의 변수가 정의되어 있습니다. XCUIApplication도 이 프로토콜을 따르므로 Application 객체가 XCUIElementTypeQueryProvider에 의해 정의된 모든 속성을 포함하기 때문에 그 이유도 분명합니다. 따라서 Application보다 큰 위의 세 가지 유형은 필터링되어야 합니다.

소스 코드


빠른



protocol XCUIElementTypeQueryProvider {

    @NSCopying var groups: XCUIElementQuery { get }
    @NSCopying var windows: XCUIElementQuery { get }
    @NSCopying var sheets: XCUIElementQuery { get }
    @NSCopying var drawers: XCUIElementQuery { get }
    @NSCopying var alerts: XCUIElementQuery { get }
    @NSCopying var dialogs: XCUIElementQuery { get }
    @NSCopying var buttons: XCUIElementQuery { get }
    @NSCopying var radioButtons: XCUIElementQuery { get }
    @NSCopying var radioGroups: XCUIElementQuery { get }
    @NSCopying var checkBoxes: XCUIElementQuery { get }
    @NSCopying var disclosureTriangles: XCUIElementQuery { get }
    @NSCopying var popUpButtons: XCUIElementQuery { get }
    @NSCopying var comboBoxes: XCUIElementQuery { get }
    @NSCopying var menuButtons: XCUIElementQuery { get }
    @NSCopying var toolbarButtons: XCUIElementQuery { get }
    @NSCopying var popovers: XCUIElementQuery { get }
    @NSCopying var keyboards: XCUIElementQuery { get }
    @NSCopying var keys: XCUIElementQuery { get }
    @NSCopying var navigationBars: XCUIElementQuery { get }
    @NSCopying var tabBars: XCUIElementQuery { get }
    @NSCopying var tabGroups: XCUIElementQuery { get }
    @NSCopying var toolbars: XCUIElementQuery { get }
    @NSCopying var statusBars: XCUIElementQuery { get }
    @NSCopying var tables: XCUIElementQuery { get }
    @NSCopying var tableRows: XCUIElementQuery { get }
    @NSCopying var tableColumns: XCUIElementQuery { get }
    @NSCopying var outlines: XCUIElementQuery { get }
    @NSCopying var outlineRows: XCUIElementQuery { get }
    @NSCopying var browsers: XCUIElementQuery { get }
    @NSCopying var collectionViews: XCUIElementQuery { get }
    @NSCopying var sliders: XCUIElementQuery { get }
    @NSCopying var pageIndicators: XCUIElementQuery { get }
    @NSCopying var progressIndicators: XCUIElementQuery { get }
    @NSCopying var activityIndicators: XCUIElementQuery { get }
    @NSCopying var segmentedControls: XCUIElementQuery { get }
    @NSCopying var pickers: XCUIElementQuery { get }
    @NSCopying var pickerWheels: XCUIElementQuery { get }
    @NSCopying var switches: XCUIElementQuery { get }
    @NSCopying var toggles: XCUIElementQuery { get }
    @NSCopying var links: XCUIElementQuery { get }
    @NSCopying var images: XCUIElementQuery { get }
    @NSCopying var icons: XCUIElementQuery { get }
    @NSCopying var searchFields: XCUIElementQuery { get }
    @NSCopying var scrollViews: XCUIElementQuery { get }
    @NSCopying var scrollBars: XCUIElementQuery { get }
    @NSCopying var staticTexts: XCUIElementQuery { get }
    @NSCopying var textFields: XCUIElementQuery { get }
    @NSCopying var dateFields: XCUIElementQuery { get }
    @NSCopying var timeFields: XCUIElementQuery { get }
    @NSCopying var textViews: XCUIElementQuery { get }
    @NSCopying var menus: XCUIElementQuery { get }
    @NSCopying var menuItems: XCUIElementQuery { get }
    @NSCopying var menuBars: XCUIElementQuery { get }
    @NSCopying var menuBarItems: XCUIElementQuery { get }
    @NSCopying var maps: XCUIElementQuery { get }
    @NSCopying var webViews: XCUIElementQuery { get }
    @NSCopying var incrementArrows: XCUIElementQuery { get }
    @NSCopying var decrementArrows: XCUIElementQuery { get }
    @NSCopying var timelines: XCUIElementQuery { get }
    @NSCopying var ratingIndicators: XCUIElementQuery { get }
    @NSCopying var valueIndicators: XCUIElementQuery { get }
    @NSCopying var splitGroups: XCUIElementQuery { get }
    @NSCopying var splitters: XCUIElementQuery { get }
    @NSCopying var relevanceIndicators: XCUIElementQuery { get }
    @NSCopying var colorWells: XCUIElementQuery { get }
    @NSCopying var helpTags: XCUIElementQuery { get }
    @NSCopying var mattes: XCUIElementQuery { get }
    @NSCopying var dockItems: XCUIElementQuery { get }
    @NSCopying var rulers: XCUIElementQuery { get }
    @NSCopying var rulerMarkers: XCUIElementQuery { get }
    @NSCopying var grids: XCUIElementQuery { get }
    @NSCopying var levelIndicators: XCUIElementQuery { get }
    @NSCopying var cells: XCUIElementQuery { get }
    @NSCopying var layoutAreas: XCUIElementQuery { get }
    @NSCopying var layoutItems: XCUIElementQuery { get }
    @NSCopying var handles: XCUIElementQuery { get }
}

OC



@protocol XCUIElementTypeQueryProvider

@property (readonly, copy) XCUIElementQuery *groups;
@property (readonly, copy) XCUIElementQuery *windows;
@property (readonly, copy) XCUIElementQuery *sheets;
@property (readonly, copy) XCUIElementQuery *drawers;
@property (readonly, copy) XCUIElementQuery *alerts;
@property (readonly, copy) XCUIElementQuery *dialogs;
@property (readonly, copy) XCUIElementQuery *buttons;
@property (readonly, copy) XCUIElementQuery *radioButtons;
@property (readonly, copy) XCUIElementQuery *radioGroups;
@property (readonly, copy) XCUIElementQuery *checkBoxes;
@property (readonly, copy) XCUIElementQuery *disclosureTriangles;
@property (readonly, copy) XCUIElementQuery *popUpButtons;
@property (readonly, copy) XCUIElementQuery *comboBoxes;
@property (readonly, copy) XCUIElementQuery *menuButtons;
@property (readonly, copy) XCUIElementQuery *toolbarButtons;
@property (readonly, copy) XCUIElementQuery *popovers;
@property (readonly, copy) XCUIElementQuery *keyboards;
@property (readonly, copy) XCUIElementQuery *keys;
@property (readonly, copy) XCUIElementQuery *navigationBars;
@property (readonly, copy) XCUIElementQuery *tabBars;
@property (readonly, copy) XCUIElementQuery *tabGroups;
@property (readonly, copy) XCUIElementQuery *toolbars;
@property (readonly, copy) XCUIElementQuery *statusBars;
@property (readonly, copy) XCUIElementQuery *tables;
@property (readonly, copy) XCUIElementQuery *tableRows;
@property (readonly, copy) XCUIElementQuery *tableColumns;
@property (readonly, copy) XCUIElementQuery *outlines;
@property (readonly, copy) XCUIElementQuery *outlineRows;
@property (readonly, copy) XCUIElementQuery *browsers;
@property (readonly, copy) XCUIElementQuery *collectionViews;
@property (readonly, copy) XCUIElementQuery *sliders;
@property (readonly, copy) XCUIElementQuery *pageIndicators;
@property (readonly, copy) XCUIElementQuery *progressIndicators;
@property (readonly, copy) XCUIElementQuery *activityIndicators;
@property (readonly, copy) XCUIElementQuery *segmentedControls;
@property (readonly, copy) XCUIElementQuery *pickers;
@property (readonly, copy) XCUIElementQuery *pickerWheels;
@property (readonly, copy) XCUIElementQuery *switches;
@property (readonly, copy) XCUIElementQuery *toggles;
@property (readonly, copy) XCUIElementQuery *links;
@property (readonly, copy) XCUIElementQuery *images;
@property (readonly, copy) XCUIElementQuery *icons;
@property (readonly, copy) XCUIElementQuery *searchFields;
@property (readonly, copy) XCUIElementQuery *scrollViews;
@property (readonly, copy) XCUIElementQuery *scrollBars;
@property (readonly, copy) XCUIElementQuery *staticTexts;
@property (readonly, copy) XCUIElementQuery *textFields;
@property (readonly, copy) XCUIElementQuery *dateFields;
@property (readonly, copy) XCUIElementQuery *timeFields;
@property (readonly, copy) XCUIElementQuery *textViews;
@property (readonly, copy) XCUIElementQuery *menus;
@property (readonly, copy) XCUIElementQuery *menuItems;
@property (readonly, copy) XCUIElementQuery *menuBars;
@property (readonly, copy) XCUIElementQuery *menuBarItems;
@property (readonly, copy) XCUIElementQuery *maps;
@property (readonly, copy) XCUIElementQuery *webViews;
@property (readonly, copy) XCUIElementQuery *incrementArrows;
@property (readonly, copy) XCUIElementQuery *decrementArrows;
@property (readonly, copy) XCUIElementQuery *timelines;
@property (readonly, copy) XCUIElementQuery *ratingIndicators;
@property (readonly, copy) XCUIElementQuery *valueIndicators;
@property (readonly, copy) XCUIElementQuery *splitGroups;
@property (readonly, copy) XCUIElementQuery *splitters;
@property (readonly, copy) XCUIElementQuery *relevanceIndicators;
@property (readonly, copy) XCUIElementQuery *colorWells;
@property (readonly, copy) XCUIElementQuery *helpTags;
@property (readonly, copy) XCUIElementQuery *mattes;
@property (readonly, copy) XCUIElementQuery *dockItems;
@property (readonly, copy) XCUIElementQuery *rulers;
@property (readonly, copy) XCUIElementQuery *rulerMarkers;
@property (readonly, copy) XCUIElementQuery *grids;
@property (readonly, copy) XCUIElementQuery *levelIndicators;
@property (readonly, copy) XCUIElementQuery *cells;
@property (readonly, copy) XCUIElementQuery *layoutAreas;
@property (readonly, copy) XCUIElementQuery *layoutItems;
@property (readonly, copy) XCUIElementQuery *handles;

@end

좋은 웹페이지 즐겨찾기