xcode-ui-testing Questions

3

Solved

I have password and password conf textFields that I have applied the "Secure Text Entry", to mask the password. However, when I run the UI tests, those fields can not be found getting UI Testin...
Jdavie asked 23/10, 2015 at 16:7

3

Solved

I am trying to dismiss alerts on my XCUITest suite, I am currently using app.alerts.buttons["OK"].tap() Using this dismisses the alert, but then the application carries on trying to tap the but...
Wuhu asked 3/11, 2016 at 14:15

3

Anyone has had similar situation? So the app open, push notification alerts show up asking if users allow receive push notification, the tests click Don't Allow even I have the following code: fun...
Hoskins asked 12/2, 2017 at 16:27

4

Solved

I'm looking for help writing a method which waits until the specified element is not present on a page anymore. I am developing with Swift 2.2 and XCTest. As you can see, I'm a new here and new to ...
Gouache asked 25/5, 2016 at 20:31

4

While I'm running UITests on Simulator with Xcode 7, it's failed when invoking XCUIApplication().launch() with App accessibility isn't loaded
Megaton asked 6/9, 2015 at 8:58

7

Solved

I want to verify if an element is visible or not depending on its .hidden property but I don't find a valid way to do that using the new Xcode 7 UI test stuff. I've tried with myelement.exists an...
Carducci asked 20/10, 2015 at 21:28

6

Solved

I'm writing UI tests in XCode 8 for a very complicated app. I'm discovering several issues, one of them being that each test I run takes several minutes. The flow for the particular test I'm runn...
Five asked 5/12, 2016 at 20:57

4

Solved

My iOS app currently has a deployment target of iOS 7 (although my scheme runs the iOS 9.2 simulator), and links with the AddressBook, AddressBookUI, and CoreLocation frameworks. I have a suite of ...
Vickery asked 5/5, 2016 at 0:33

3

When I run my XCTests, I'd like to automatically rerun, once, any integration (unit/ui) test that fails. Is this possible? This would be done in the same test, without having to hit 'run' again on...
Wesle asked 18/3, 2016 at 16:53

3

Solved

This is my custom view where "LondonStreet" is a button. When I tap that button I get url and open it in Safari (it works). Then I can go back, using "Back to Wishlist" button (it also works). ...
Staphylo asked 11/9, 2015 at 11:32

6

I'm trying to add and run UI Automation tests with Xcode 7 on an older project. Here's what I did: Added a new UI Testing target Changed the compiler version of that target to Default compiler (A...
Statis asked 20/9, 2015 at 9:57

6

Background I'm experimenting with UI testing in Xcode. Question Is there a command in Xcode that will allow me to see a 'tree' of accessible elements and their relationships? Something similar to t...
Konstantin asked 25/9, 2015 at 22:52

3

For my app I am trying to run a basic UI test on whether the view stays fixed in its orientation when the actual device is rotated. I know how to simulate the physical rotation (using UIDeviceOrien...
Supernumerary asked 9/3, 2016 at 18:24

14

Solved

Ok, I’ve not been able to run this test in any betas so far. Some of the issues I’ve encountered are here and here Now, I feel like I’m missing something. Here’s my progress so far Enabled “UI...
Glynas asked 28/8, 2015 at 17:20

6

Solved

When running an XCT UI test it is possible to put the application under test in the background with: XCUIDevice().pressButton(XCUIDeviceButton.Home) It it possible in some way to bring the app b...
Carola asked 9/2, 2016 at 14:53

2

Starting UI Testing with Xcode on my project, hit a road block. There is a subclass of UITextField called RSCustomTextField which has some UI customizations. Which is added to RSSearchHeadView, t...
Basseterre asked 22/4, 2016 at 10:3

14

Solved

I am trying to write a test case using the new UI Testing available in Xcode 7 beta 2. The App has a login screen where it makes a call to the server to login. There is a delay associated with this...
Segalman asked 2/7, 2015 at 10:55

3

Solved

I'm during migration to work with new Xcode 12, but I have a problem with UI tests. Code let springBoard = XCUIApplication(bundleIdentifier: appleBundleIdentifier) let notification = springBoard.ot...
Vulvitis asked 17/9, 2020 at 8:38

7

Solved

I'm trying to generate a UItest in Xcode. When I try to swipe UIview I get an error: Timestamped Event Matching Error: Failed to find matching element error window This also happens if I try...
Systole asked 14/4, 2016 at 7:52

1

Solved

update: VNC into the build machine (without making any changes) somehow fixes this....strange Context We use Mac EC2 instances CI cluster to run UI tests. The cluster is set up to recycle every ni...
Mendelian asked 19/7, 2021 at 5:17

18

Is there an API call within XCTest that I can put into the setUP() or tearDown() to reset the app between tests? I looked in the dot syntax of XCUIApplication and all I saw was the .launch() OR is...
Rightist asked 13/10, 2015 at 16:18

1

I'm trying to automate creating screenshots of my application using Snapshot, and all goes well, until I want to navigate through a UIImagePickerController which has set allowsEditing to true. The...
Ragnar asked 9/2, 2016 at 14:8

4

Solved

Looking at XCTWaiter().wait(...) I believe we can wait for multiple expectations to become true using this code let notHittablePredicate = NSPredicate(format: "hittable == false") let myExpectatio...
Bliss asked 19/12, 2017 at 5:15

2

Solved

I am working with UITableViews and I would like to find the cell that corresponds to a control or static text inside the cell. More generally, a good way to find any parent or sibling of a given e...
Vibrio asked 3/12, 2015 at 13:52

6

While an Xcode UI Test is running, I want to know which device/environment is being used (e.g. iPad Air 2, iOS 9.0, Simulator). How can I get this information?
Basidiomycete asked 30/8, 2015 at 16:16

© 2022 - 2024 — McMap. All rights reserved.