Questions tagged [ui-testing]

User interface testing is the process of testing a product's graphical user interface to ensure it meets its specifications.

User interface testing is the process of testing a product's graphical user interface to ensure it meets its specifications. Test cases attempt to cover all the functionality of the system and fully exercise the GUI itself. Wikipedia

829 questions
6
votes
1 answer

Android Instrumented tests fail when all run together

I am running Android instrumented tests using espresso. I have a little more than 70 tests to be run which all click through different parts of my application. When I run each test as a single test they all work and I get a green test result. When I…
TobHo
  • 73
  • 5
6
votes
0 answers

Is there any way to test React Native for pixel perfect?

In web I usually use PerfectPixel chrome extension. It allows just cover page with uploaded design, inverse colors, etc. Any possible ways to test design in React Native?
acidernt
  • 2,173
  • 2
  • 19
  • 33
6
votes
2 answers

Swift - How do you test whether a label has been updated when a button is tapped

I've go a very simple calculator and I' trying to test whether a label gets updated when a button is tapped. My test method looks like this: let app = XCUIApplication() app.buttons["9"].tap() I can visually see the Label being updated but I'm not…
breaktop
  • 1,899
  • 4
  • 37
  • 58
6
votes
0 answers

Xcode UI Testing "Failure attempting to launch"

I'm new to UI Testing and am trying to integrate the feature into an existing project. I'm trying the most basic of tests to just see the framework in action but am having some difficulty. I've added a new UI Testing Bundle target to my project and…
trigonoah
  • 101
  • 8
6
votes
1 answer

Espresso - how to switch typeText to English or other languages input mode

I'm using Espresso to implement my application's autotest framework. But in some test-cases I've designed, I found my test always fail, and the root cause is not in my testing codes on feature implementation codes. The root cause is in the android…
Clock ZHONG
  • 875
  • 9
  • 23
6
votes
1 answer

Permanently allow Xamarin iOS app to accept incoming connection (Xamarin Test Cloud Agent)

My question is closely related with this question, as I am creating a Xamarin App and want to automatically test the UI. I've followed the instruction from the official documentation but once I do the last step, where I add Xamarin.Calabash.Start();…
Alexander Pacha
  • 9,187
  • 3
  • 68
  • 108
6
votes
1 answer

XCode 7 code coverage results for UI Testing

I am using XCode Version 7.1 (7B91b) on my local MAC. And testing my app on the Simulator iPhone 6 (iOS9). I have created Unit tests for my app, then I found that the code coverage was about 34%. I decided to create UI tests to increase the code…
Wael Showair
  • 3,092
  • 2
  • 22
  • 29
6
votes
1 answer

How to trigger an Android LongClick in Xamarin UI Test

I've got a RecyclerView with a ActionMode which can be activated by a long click on a RecyclerView item. How to trigger a long click in Android with Xamarin UI tests? AndroidApp contains a method TouchAndHold(Func query) but this one seems not to…
Luciano
  • 2,691
  • 4
  • 38
  • 64
6
votes
6 answers

Can't run UI Testing on older project

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 (Apple LLVM 7.0) Recorded a test using the iPhone 6…
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
6
votes
1 answer

XCTest UI testing UIElements size

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.
Dejan Zuza
  • 359
  • 1
  • 6
  • 14
6
votes
1 answer

UITests in Xcode 7 finds wrong 'Next' button

I have a test that looks like the following: func testNextButtonDisabled() { let app = XCUIApplication() XCTAssertFalse(app.buttons["Next"].enabled) } This test fails because, in addition to my own "Next" button that I've created, the keyboard…
kubi
  • 48,104
  • 19
  • 94
  • 118
6
votes
2 answers

Alternatives to Coded UI test for Visual Studio

Im looking for some alternatives for Coded UI test. Unfortunately I'm only running Visual Studio 2013 professional I have already looked at Selenium for Firefox, but that does not seem to work in my version of Firefox
Kimtho6
  • 6,154
  • 9
  • 40
  • 56
6
votes
4 answers

Android espresso maven and gradle setup

Does any one have an example of maven setup of the new Android UI test framework called espresso ?
Snicolas
  • 37,840
  • 15
  • 114
  • 173
6
votes
2 answers

iOS Instruments Automation "setValue" not working

I just want to test my iOS UI with UI Automation but I got stuck when it comes to enter text into UITextFields. The documentation says that the method "setValue(...)" should do the trick but it doesn't. I always get this error: Script threw an…
ralphbert
  • 123
  • 2
  • 8
6
votes
1 answer

Capturing browsers with Selenium RC

I want to run UI tests using browserfarms like BrowserStack. We are currently using BS to run Unit tests via JsTestDriver. So starting the server, letting a bunch of browsers created by the browserfarm connect to the jstd server and then execute the…
zhujik
  • 6,514
  • 2
  • 36
  • 43