Top "Xcode-ui-testing" questions

UI Testing in Xcode was introduced in Xcode 7, allowing a developer to write UI tests in Swift/Objective-C. The primary method of interacting with an app is via an instance of XCUIApplication.

How to select a picker view item in an iOS UI test in Xcode?

I have a picker view with few items: "Red", "Green", "Yellow", "Black". In my UI test I need to select …

ios xcode swift xctest xcode-ui-testing
‘NSInternalInconsistencyException’ when running UITesting with Xcode 7

Ok, I’ve not been able to run this test in any betas so far. Some of the issues I’…

ios xcode swift xcode7 xcode-ui-testing
Running individual XCTest (UI, Unit) test cases for iOS apps from the command line

Is it possible to run individual test cases, or individual test suites, from an iOS app test target, instead of …

ios unit-testing xctest xcode-ui-testing
Timestamped Event Matching Error: Failed to find matching element

I'm trying to generate a UItest in Xcode. When I try to swipe UIview I get an error: Timestamped Event …

swift xcode xcode-ui-testing
Xcode UI Test example

I have just recently learned about Unit Testing in Xcode. Now I am trying out Xcode 7 and I see there …

ios xcode ui-testing xcode-ui-testing
How to hide keyboard in Swift app during UI testing

I just started with UI testing in Xcode 7 and hit this problem: I need to enter text into a textfield …

ios swift user-interface testing xcode-ui-testing
How to tap on a specific point using Xcode UITests

I want to use Xcode UI tests with the Fastlane Snapshot to make screenshots of the Cordova app. Basically, as …

ios swift xcode7 xcode-ui-testing fastlane-snapshot
Testing UIWebView with Xcode UI Testing

I'm using new Xcode UI Testing from XCTest Framework with the Xcode 7 GM. I've got an app with simple UIWebView (…

uiwebview ios9 xctest xcode-ui-testing
XCUITest Multiple matches found error

I am writing tests for my app and need to find the button "View 2 more offers" there are multiple of …

swift xcode-ui-testing
how to get value of an XCUIElement?

How to get the value of textfield in XCODE7 UITesting? var b = XCUIApplication().childrenMatchingType(.textField).elementBoundByIndex(0).stringValue

xcode7 xcode-ui-testing