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
5
votes
1 answer

UI Testing - wait for dialog then tap Ok button and check controller

I am trying to create UI test for my controller. I fill textfields and tap button and now I want to wait for dialog to appear and when it apears I want to tap Ok button and check what controller is shown. This is end of my test method: let alert =…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
5
votes
0 answers

How to use FBSimulatorControl

I can now link FBSimulatorControl into my own OSX app and boot multiple simulators from there. I now want to run my UI Test code in these simulators like in this video link.…
vodkhang
  • 18,639
  • 11
  • 76
  • 110
5
votes
0 answers

XCUI Tests losing connection to device

I'm having trouble running some tests on real devices with the new XCUI Test in Xcode 7. I've written a simple monkey tester that performs various interactions with our app over a 10 minute period. This works fine using simulators, however with real…
JonHW
  • 51
  • 3
5
votes
4 answers

Accessing nested UIElements in Xcode 7 UI Testing

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 problem is sometimes, the component is not found. Like…
ajc6432
  • 188
  • 2
  • 12
5
votes
1 answer

XCode 7 UITest export logs

I am using XCode7-UItest for testing my application. I have added few logs in files for my UITestTarget. These test will be executed on device via my build machine's Xcode. I can view these logs on Xcode under "Show report navigator" option but I…
Sandy
  • 3,021
  • 1
  • 21
  • 29
5
votes
0 answers

Android UI testing with Expresso: No activities in stage RESUMED

I am currently struggling implementing a functional test on an Android ListActivity that implements a LoaderManager.LoaderCallbacks. This Activity has a simple layout that has an EditText for the user to enter some string, and a ListView that is…
Tiago Mota
  • 51
  • 1
  • 3
5
votes
3 answers

Selenium testing machine

--- TL;DR At this point I suggest everyone to tied their Continuous Integration server/service to https://ghostinspector.com/ OLD QUESTION after three days googling and testing I gave up, and I need help. My objective is allow my co-workers to…
5
votes
1 answer

Automatically generate IDs on SWT-Widgets

Is there a way to automatically generate IDs on SWT-Widgets so UI-Tests can reference them? I know i can manually set an id using seData but I want to implement this feature for an existing application in a somewhat generic fashion.
Christian Hager
  • 468
  • 6
  • 22
5
votes
4 answers

Flex: Testing UI components at the click level?

I've been working on a Flex component and I'd like to write some automated tests for it. The trouble is, the UI testing tools I've looked at (FlexMonkey and Selenium Flex API) don't simulate "enough": Most of the bugs which have come up so far…
David Wolever
  • 148,955
  • 89
  • 346
  • 502
4
votes
3 answers

iOS: UI testing + continuous integration?

I'm looking for a UI-testing framework for iOS projects which can be used together with Jenkins. I already found NativeDriver (https://code.google.com/archive/p/nativedriver/) and Frank (https://github.com/moredip/Frank), but no information about…
swalkner
  • 16,679
  • 31
  • 123
  • 210
4
votes
1 answer

Why Hilt isn't necessary for unit tests, but it is necessary for UI tests?

Hilt testing guide documentaton has this paragraph about Unit test Hilt isn't necessary for unit tests, since when testing a class that uses constructor injection, you don't need to use Hilt to instantiate that class. Instead, you can directly call…
4
votes
2 answers

Selenium or Eggplant

we are just trying to evaluate which one is best - Selenium or Eggplant Selenium is of course free of cost. The following are some problems we faced: 1. click actually requires focus on the page. so when a test case is running we just have to see…
anony
  • 314
  • 2
  • 14
4
votes
0 answers

Cypress multiple users testing same set of test cases

I am new to cypress and Mocha. I am writing test cases to an application which has multiple types of users. I am trying to execute a set of test suites for all these multiple users. Traditionally I am expected to login with a user in one test suite,…
4
votes
0 answers

Error while running espresso test: No static field NO_OP_CONTROLLED_LOOPER of type

I got this error while running my test: **No static field NO_OP_CONTROLLED_LOOPER of type** Even when the test is empty with just check() function like this: check(matches(isDisplayed())); I searched but I could not find anything about it, so…
setare maghari
  • 536
  • 4
  • 7
4
votes
2 answers

Click a material-ui radio button in a jest test and see it's effect

I am trying to complete a jest test on a bespoke reusable component but having difficulty getting it to work. I have pared it back in a sandbox using plain material-ui components and am still having difficulty in simulating the radio button click. …
tmc
  • 404
  • 1
  • 7
  • 20