xcode-ui-testing Questions
1
Solved
My UITests are suddenly greyed out in XCode's test pane. (See image below.) As a result, they don't run when I choose Product -> Test. Only the Unit Tests Run (which are not greyed out.)
Despite t...
Carr asked 5/1, 2017 at 1:3
4
Solved
I'm facing with one problem using UITesting framework for the xCode that Apple has introduced at WWDC 2015.
I have a UITableView and this table contains a lot of cells. Also I have a NSArray with c...
Valais asked 14/9, 2015 at 10:41
1
Solved
I'm getting this error only when trying to run UITests. I'm not using storyboard and building the app runs fine and Unit testing runs fine as well.
In my AppDelegate I have @UIApplicationMain
I ...
Alexandrite asked 8/12, 2016 at 12:40
0
I was trying to write UI tests for home screen quick actions that I implemented for my iOS app. So when I start recording UI workflows, it doesn't let me capture the force touch events on the app. ...
Serinaserine asked 29/11, 2016 at 16:22
4
Solved
I am having trouble locating XCUIElements on a screen for the app I am testing. I realize you can access a button for example via something like:
app.buttons[].elementBoundByIndex(0)
But the pro...
Ordonnance asked 2/10, 2015 at 17:43
1
Problem arise with continuous integration when try to run bot on device.
Test target MyAppTests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart w...
Spellman asked 3/10, 2016 at 14:38
2
Why when I tests my controllers in Xcode everything is fine, but deinit methods are not called. Is it correct?
While app works normally, it is fine, but not for UITest target.
For complicated str...
Kramatorsk asked 30/8, 2015 at 12:44
1
Sometimes under continuous integration there is an error (seem to be random error) like this:
Test Assertion UI Testing Failure - failed: Failed to update to requested orientation.
While testing...
Inandin asked 7/10, 2016 at 12:15
2
Solved
I would like to be able to verify that a substring appears in the navigation bar in a UI test.
For example, if the nav bar title is "Rent Properties" then I can match it like so:
XCTAssert(XCUIAp...
Challah asked 12/10, 2016 at 6:20
1
Solved
Sometimes under UITests in Xcode the compiler try to tap the button before it is loaded and presented. Then arise a problem like no matched found for....
But the simple solution for this is:
slee...
Andrewandrewes asked 30/9, 2016 at 9:54
2
Solved
I am currently doing ui tests for my app and stuck on clicking on the log in button of my app. I am unable to find the element which i have gave the identifier signup button(the element is the 3rd ...
Apostolate asked 23/8, 2016 at 8:51
2
Solved
The issue
Using Xcode UI test, I can not query the cells in a UITableView
Explanations
The UITableView
The UITableView contains 3 cells :
import UIKit
@objc class DumpTable: UITableViewContro...
Pontiac asked 5/9, 2016 at 11:21
1
Solved
We are trying to migrate from UIAutomation to XCUITests and did use the captureScreenWithName() API to programmatically generate screen shots.
What is the replacement in the XCUITests ?
(I know tha...
Syconium asked 2/9, 2016 at 21:29
1
Solved
So I'm attempting to run an XCode UI Test on my React Native project. My goal is to use fastlane/snapshot to grab screenshots of my app.
I finally figured out how to script my app to do what I wan...
Recipient asked 5/8, 2016 at 4:28
3
I have an existing Objective-C project and I want to add a new Xcode 7 UI testing target with OHHTTPStubs as a dependency.
I added the new (Swift 2.0) UI testing target in Xcode, then added this t...
Pi asked 17/6, 2015 at 13:48
0
I'm looking for a way to test my application that use an AVPlayer.
How can I load a video file? I tried to record the manipulation but recording stop when calling NSOpenPanel.runModal().
Any idea...
Streaming asked 31/8, 2016 at 9:5
3
I have UI Tests target for testing MyApp. To test specific MyApp conditions I need to post notifications from UI Test target to MyApp target. To post notification from UI Test target function I am ...
Pederasty asked 10/11, 2015 at 15:18
2
Solved
I just upgraded to Xcode 7.2 and now my tests succeed without even running. As soon as it finishes building, it gives me the "Test Succeeded" message and the console shows no output.
Is anyone el...
Bitartrate asked 9/12, 2015 at 16:44
5
Solved
So I downloaded the beta of XCode 7 and I've created some UI tests, but I can't find the functionality of how to take screenshots of my app/UI during the test.
Can someone please help?
Ottillia asked 15/7, 2015 at 14:52
0
I have a fairly normal XCTest UI test for a Mac application which clicks some menu items in the application menu to open a window.
In some places - like my own Mac - the tests work fine. But in ot...
Judon asked 3/8, 2016 at 16:2
1
Solved
I am trying to validate if the background color can be obtained in XCTest UI Testing, I am looking to compare the background color with the set value, so that i don't have to rely on image comparis...
Remuneration asked 29/7, 2016 at 21:1
4
Solved
The question is actually really simple:
Is there a way to assert the displayed value from a specific label (e.g. UILabel) when using an accessibility label on this object?
As far as I see it, all...
Wong asked 31/8, 2015 at 15:27
1
Solved
Just wondering if it is possible to use UITesting in xcode to somehow code in custom locations for the simulator. We have an app that involves a number of location changes and would be great if we ...
Ghetto asked 14/7, 2016 at 9:19
1
In Xcode 7 Apple added XCUITest as the new and preferred way to test the UI of your application.
I want to migrate my old testing script, but haven't found any information on how to set a custom c...
Colier asked 18/11, 2015 at 18:40
2
Solved
I have an app with a login system, so once user have logged in the app, I store their session in a local DB, which prevents users to have log in every time they use the app. Obviously, if users hav...
Angstrom asked 12/7, 2016 at 15:20
© 2022 - 2024 — McMap. All rights reserved.