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
23
votes
4 answers

"unsafeMutableAddressor : Swift.String", referenced from:.."

I got an error: Undefined symbols for architecture x86_64: "DirectBistro.DBTabBarOrderedIndexesKey.unsafeMutableAddressor : Swift.String", referenced from: DirectBistroUITests.TabBarControllerTests.setUp…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
22
votes
4 answers

How to enable Espresso Test Recording

As of yesterday's Google IO Keynote, there seems to be a major update in the way we do UI testing in our projects. Automated testing is about to see a huge step forward thanks to a new test recorder feature. Developers will be able to start a…
21
votes
11 answers

Selenium is to Web UI testing as ________ is to Windows application UI testing

I'm interested in UI testing a client only Java application. What is the most popular framework for doing so? What is your recommended framework? Also, why doesn't Selenium do this (or does it)? It seems to me that anything that can test a web…
user128807
  • 10,447
  • 17
  • 53
  • 72
20
votes
2 answers

Xcode UI Test example

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 it was pretty good, but do you have a super simple…
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
19
votes
6 answers

Espresso: How to do custom swipe e.g. swipeTop or swipeBottom

So far we can do: swipeLeft swipeRight swipeUp swipeDown How can we swipeTop(all the way to the Top) or swipeBottom(all the way to the bottom) is expresso. Please give me an example if these methods already exists.
Testing Singh
  • 1,347
  • 1
  • 15
  • 26
18
votes
3 answers

How to enter text in Jetpack compose TextField through UI tests?

In Jetpack compose I have a TextField and I'm trying to write Espresso UI tests. I didn't find how I can enter text in the TextField, any ideas, please? TextField( value = textState.value, modifier = Modifier.fillMaxWidth(), …
18
votes
4 answers

UI testing vs unit testing

what is the different purpose of those both? I mean, in which condition I should do each of them? as for the example condition. if you have the backend server and several front-end webs, which one you'll do?do-unit testing the backend server first…
haris hamdani
  • 1,367
  • 2
  • 11
  • 18
18
votes
4 answers

Xcode 7, UI-Testing: working with UITableView

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 cells titles - if cell title is contained in NSArray…
Aleh Sarochych
  • 183
  • 1
  • 1
  • 6
18
votes
7 answers

How to "wait to activity" using Appium, on begin and during test itself?

I'm starting an already installed app using appium. After my driver is initialized. How do I make it poll-wait till certain activity is displayed? I saw only this way to wait for activity when starting up cap.setCapability("app-wait-activity",…
Elad Benda2
  • 13,852
  • 29
  • 82
  • 157
17
votes
3 answers

How to use Espresso UI Testing for React Native?

I'm trying to make some UI Testing with Espresso on my React Native Android application to use Screengrab by Fastlane. I have followed this tutorial to integrate React Native in an existing app to be able to write a test. But when I started writing…
17
votes
10 answers

Record button disabled in Xcode UI Test Target

I know similar questions have been posted, but from my investigating, there has not been a solution posted, at least not one that works. I have successfully run UI tests only from sample projects in both Swift and Obj-C. I am trying (unsuccessfully)…
Pheepster
  • 6,045
  • 6
  • 41
  • 75
17
votes
1 answer

How to Import module with spaces using @testable

Sounds like a silly question, but was wondering how should I import modules with spaces ? I am following this link to add test cases, but my project has a space, say foo bar. So how should I import using @testable @testable import foo bar throws…
user5381191
  • 611
  • 7
  • 21
16
votes
5 answers

Selenium Critique

I just wanted some opinions from people that have run Selenium (http://selenium.openqa.org) I have had a lot of experience with WaTiN and even wrote a recording suite for it. I had it producing some well-structured code but being only maintained by…
Adam Driscoll
  • 9,395
  • 9
  • 61
  • 104
16
votes
4 answers

The following error originated from your application code, not from Cypress

i tried to test this simple code type Url = string it('loads examples', () => { const url: Url = 'https://www.ebay.com/' cy.visit(url) cy.get('input[type="text"]').type('book') cy.get('#gh-btn').click(); …
leen M
  • 477
  • 1
  • 5
  • 14
16
votes
2 answers

RuntimeException: Unable to create output dir: /storage/emulated/0/app_spoon-screenshots

I am setting up Spoon for Android UI Testing using the gradle-spoon-plugin using the Spoon 2.0.0 snapshot. My project is set up using Android Gradle plug-in 3.0.1. When taking screenshots via spoonRule.screenshot(activity, "hello"), I get this…
Mark
  • 7,306
  • 8
  • 45
  • 87
1
2
3
55 56