Latest 0.1.5
Homepage https://github.com/viteinfinite/KIF-XBAdditions
License MIT
Platforms ios 5.1, requires ARC
Dependencies KIF
Authors

Version
License
Platform

Features

KIF+XBAdditions adds a bunch of useful methods for retrieving views using the accessibility hint property.

You can now use the following methods.

KIFUITestActor

Retrieving a view

- (UIView *)waitForViewWithAccessibilityHint:(NSString *)hint;

or

- (void)waitForAccessibilityElement:(out UIAccessibilityElement **)foundElement view:(out UIView **)foundView withHint:(NSString *)hint tappable:(BOOL)mustBeTappable;

Tapping on a view

- (void)tapViewWithAccessibilityHint:(NSString *)hint;

UIView

Retrieving a subview

- (UIAccessibilityElement *)accessibilityElementWithHint:(NSString *)hint;

or

- (UIAccessibilityElement *)accessibilityElementWithHint:(NSString *)hint traits:(UIAccessibilityTraits)traits;

or

- (UIAccessibilityElement *)accessibilityElementWithHint:(NSString *)hint accessibilityValue:(NSString *)value traits:(UIAccessibilityTraits)traits;

Installation

KIF+XBAdditions is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "KIF+XBAdditions"

Author

Simone Civetta, Xebia IT Architects, @viteinfinite

License

KIF+XBAdditions is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "KIF+XBAdditions",
    "version": "0.1.5",
    "summary": "A small toolset for KIF. With love, from Xebia.",
    "description": "                        A small toolset for KIF. Adds view retrieval by accessibility hint.n",
    "homepage": "https://github.com/viteinfinite/KIF-XBAdditions",
    "license": "MIT",
    "authors": {
        "Simone Civetta": "[email protected]"
    },
    "source": {
        "git": "https://github.com/viteinfinite/KIF-XBAdditions.git",
        "tag": "0.1.5"
    },
    "social_media_url": "https://twitter.com/viteinfinite",
    "platforms": {
        "ios": "5.1"
    },
    "requires_arc": true,
    "source_files": "Classes/",
    "public_header_files": "Classes/*.h",
    "dependencies": {
        "KIF": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This