uitest Questions

3

I am writing an UI test case, in which I need to perform an action, and then on the current page, scroll the only UITableView to the bottom to check if specific text shows up inside the last cell i...
Hokum asked 22/1, 2019 at 20:30

10

Our UI test suites are showing some unexpected behaviour where our Create Password screen intermittently auto-completes both the username and password - this results in the test being failed. The ...
Lefthand asked 27/3, 2019 at 13:39

9

Solved

Since Xcode 7 we have a nice API for UI testing. Mostly I'm satisfied with it. The only concern is related to the speed. In the beginning an ordinary UI test case (about 15 actions) ran approximat...
Goblet asked 17/5, 2016 at 17:4

3

Solved

I'm making a UI Test for an iOS app. I'm having trouble finding out how to use automated testing for a date picker. Right now I'm stuck trying to find the date picker itself so I can change the val...
Munson asked 15/5, 2017 at 18:1

1

First of all yes I have seen this so question but there is currently no answer. The root problem is that I am currently XCUITesting my app which is localized so the UIAlertActions are localized so...
Ito asked 24/5, 2018 at 11:13

1

Solved

When running UITests on an Android Emulator that is managed using Gradle managed devices, how do I copy data like screenshots, cucumber reports etc.? I cannot use adb pull because the emulator is s...
Lys asked 14/10, 2022 at 12:34

1

Solved

I tried to disable animation in UITests with the following code: let app = XCUIApplication() app.launchEnvironment = ["DISABLE_ANIMATIONS": "1"] I also tried: UIView.setAnimationsEnabled(false)...
Coronary asked 12/3, 2020 at 17:12

1

I downloaded test samples form https://github.com/android/testing-samples And BasicSample doesn't work on the real device with Android 9 works on Android 10. I have an exception. What is wrong? The...
Triny asked 3/8, 2020 at 13:17

20

I can't run my test case due to this following errors : The bundle “UITests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. Library not loa...
Menial asked 8/11, 2016 at 6:40

1

I want to write UI tests for views inside a UIStackView thats inside a MKMapView. Here's a snippet of the MWE. I created a MKMapView added a UIStackView with two UIViews as subviews. let map = MKM...
Pori asked 10/12, 2019 at 8:1

1

I created Configuration.storekit file, and it work for Run on ios simulator. But when i'm trying to run UITest, it always fails on initing SKTestSession(configurationFileNamed: "Configuration&...
Eckhardt asked 25/9, 2020 at 8:34

6

Solved

I have heard of this term many times (in the context of programming) but couldn't find any explanation of what it meant. Any good articles or explanations?
Brant asked 22/8, 2012 at 10:42

3

Solved

I am writing a UI text in swift under the new Xcode 7 UI test framework. the requirement is to test whether the system keyboard is shown in an app. can someone give me a clue on how to do that? tha...
Zeena asked 8/1, 2016 at 19:43

1

My project uses Xcode 11.3.1 and is structured as followed: MyProject - MyProject.xcworkscapce - MyFramework - MyApp -MyApp (main-target) -MyAppUITests (uiTest-target) MyApp imports MyFram...
Illyes asked 5/2, 2020 at 15:35

0

I am working on an iOS app and the goal is to successfully run tests using Fastlane. When I run tests with Xcode, everything works fine. Tests are only failing when run using Fastlane. This is the ...
Lianeliang asked 4/2, 2020 at 12:48

3

I am using XCUITest to test UI behaviour when the keyboard is present - for example, if content properly moves up when the keyboard appears. For some reason, the iOS simulator insists on regularly...
Moise asked 27/3, 2019 at 15:58

3

Solved

I want ton run Xamarin UI test, but when i run the test i have this error : System.Exception : 'The running adb server is incompatible with the Android SDK version in use by UITest: C:\Program F...
Allin asked 10/9, 2018 at 9:34

2

Solved

lets say I have a table with three images whose accessiblityIdentifier set to "fooImage". XCTAssertTrue(table["tableName"].images.count == 3) will work, but this is sucky -- what if someone adds a...
Carleecarleen asked 28/2, 2018 at 18:14

8

Solved

Has anyone seen this happen before? I can not run UITests because the button is disabled. I have not found any help online. I have deleted and added a new test target, restarted Xcode and deleted d...
Revolver asked 25/11, 2015 at 16:28

2

I have a view controller that is presented using a "Present As Popover" segue. When I run the app it works as expected and tapping outside of the popover will dismiss it. However, when I run my UI ...
Glindaglinka asked 11/5, 2017 at 0:53

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

1

Currently I access photo gallery and pick up a photo the following way: extension XCUIApplication { func pickPhotoFromImagePickerAtIndex(index: UInt) { tables.buttons["Moments"].tap() collect...
Collage asked 26/7, 2016 at 13:29

1

Solved

I am trying to find a way to tap a link with the following HTML structure: <a> <div id="facebook_sharing"></div> </a> The a tag does not have any attributes or text asso...
Straub asked 16/2, 2016 at 21:6

1

Solved

I am trying to use UI tests in Xcode 7 beta. I have a storyboard with two text fields. Both text fields have outlets and different Restoration IDs. I recorded the test but generated code is quite u...
Amylolysis asked 4/8, 2015 at 5:8
1

© 2022 - 2024 — McMap. All rights reserved.