xcode-ui-testing Questions
1
i wrote a ui test in new xcode 7 with swift 2.0. I have a script, that i run from terminal to execute the ui-tests. Here is the command line:
xcodebuild -workspace App.xcworkspace -scheme "App-Sch...
Jordanson asked 14/1, 2016 at 15:45
3
I'm trying to incorporate UI tests in my iOS project, but one thing that continues to hold me up is the fact that it seems all of the tests you write must start from the beginning of the app and wo...
Unbend asked 17/12, 2015 at 17:38
3
Solved
Xcode prompts "No buildable for testable" when the record button is clicked.
In my Xcode project, targetting for iOS, there is an Objective-C testing target and a Swift testing target, both for UI...
Hognut asked 17/8, 2015 at 7:10
1
Solved
Is there a way to select or trigger didSelect from a UITest on the first cell if it exists in a collection view?
When recording it uses static text from the selected cell. If the cell is populated...
Mujik asked 29/12, 2015 at 17:30
2
Is there any specific configuration if I want to run a test on a physical device?
-my physical device is running ios 9.0
-I have a provisioned profile (the app is running on the device)
-I alrea...
Brachiate asked 29/10, 2015 at 0:57
3
I'm trying to create a tree walker using XCode 7's XCTest UI testing functionality that systematically explores a deterministic tree of table views to a specified depth. It almost works, except tha...
Flanch asked 16/12, 2015 at 19:57
1
Solved
I'm trying to test my UIs using XCTest UI testing, and having troubles of testing UIImageViewsI have in my app (hit tests, presence etc).
In the list of the XCUIElementType there is no such type, ...
Quandary asked 17/12, 2015 at 19:26
1
How can I configure Travis to run my UI XCTest cases for OSX? The Travis test fails because, on OSX, Xcode Helper requires permission to use Accessibility for the test instance. Is there any way to...
Paver asked 11/12, 2015 at 19:59
0
I'm creating my first UI Test for my iOS app. Every time I run the test I get the error:
UI Testing Failure - App accessibility isn't loaded
(please see attached image)
plus an error message ...
Unforgettable asked 30/11, 2015 at 11:50
2
Anyone familiar with the following issue when generating UI tests?
Crashed Thread: 26 Dispatch queue: XCUIRecorder_iOS.processingQueue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000...
Johnette asked 26/10, 2015 at 18:20
3
Solved
While trying to do UI recording for my UI tests, the app crashed after 1 event that was not recorded. Looking into the crash report, I found this error:
UNCAUGHT EXCEPTION (NSInternalInconsistency...
Coverup asked 30/7, 2015 at 1:45
1
Solved
Someone has tried to include mock data with the new Xcode 7 UI tests?
Have you used an specific framework?
How have you managed targets?
Scald asked 14/7, 2015 at 10:10
2
Solved
I have just recently learned about Unit Testing in Xcode. Now I am trying out Xcode 7 and I see there is a new group for UI Tests when I create a new project.
I watched the WWDC 2015 video and i...
Polyethylene asked 24/7, 2015 at 1:33
2
Solved
I am using Xcode 7's new feature : UI Testing.
After recording the interaction, Xcode generated the code automatically :
- (void)testDoubleTapToolBarItem {
[[[XCUIApplication alloc] init].tabBars...
Laurenalaurence asked 7/9, 2015 at 6:5
2
I am developing an iOS project, and I need to access to the codes of the host app from the UI test target, but I found that it shows link error: undefined symbol when I tried to. I found the test h...
Emileeemili asked 19/9, 2015 at 10:37
1
Is it possible at all? I would like to test some properties on this controller after user perform some actions on UIView.
Electrolyse asked 24/8, 2015 at 11:2
2
This is how i set it in code:
let userBarButtonItem = UIBarButtonItem(image: userIcon,
style: .Plain,
target: self,
action: Selector("userButtonTapped:"))
userBarButtonItem.accessibilityIden...
Minny asked 28/8, 2015 at 9:37
2
Solved
I've been trying to intercept and stub/mock HTTP requests in Xcode 7 automated UI tests, using tools like OHHTTPStubs, with no luck.
Here's an example of how I am trying to capture any HTTP reques...
Moldy asked 28/9, 2015 at 16:22
1
Solved
Playing with iOS 9.0, Xcode GM and the new Xcuitesting framework. How can I run a specific test from the command line instead of having to click play in the ide? I know there's a shortcut to run al...
Demigod asked 27/9, 2015 at 16:18
1
I am using Xcode7 to write UITest, the problem is I need to wait for all the steps to happen before I validate the actual result. This takes a lot of time with all with view controller pushing/pres...
Dejection asked 25/9, 2015 at 1:1
2
Solved
I'm using new Xcode UI Testing from XCTest Framework with the Xcode 7 GM. I've got an app with simple UIWebView (it's just a navigation controller + view controller with web view and button) and I ...
Cryptonymous asked 17/9, 2015 at 6:32
1
Solved
I am testing my app with XCTest in XCode.
Does someone has example how to test UIElement size?
Height of cell in tableView, or height of label in tableView cell. Any example will be appreciated.
Coincidentally asked 14/9, 2015 at 14:27
3
Apple simplified iOS UI testing in Xcode 7.
With new Xcode 7 projects, all you have to do to get the complete configuration for iOS UI testing is to check "Include UI tests" when creating a proje...
Excitor asked 17/6, 2015 at 8:43
1
Solved
I need to access following button:
This line works fine:
app.buttons["Reorder 1, $27 000, LondonStreet, ok, Pending"]
but this don't:
app.buttons.elementMatchingPredicate(NSPredicate(format:...
Shaun asked 11/9, 2015 at 9:57
1
Solved
I am testing the new UI testing functionality of Xcode 7 (introduced in the WWDC 2015 video "UI Testing in Xcode").
On launch, my app animates a "login panel" into view, by updating the value of i...
Myology asked 14/8, 2015 at 4:33
© 2022 - 2024 — McMap. All rights reserved.