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
14
votes
2 answers

Espresso UI Test Cancelled with no error message

Here is the problem when I run my UI test. But the ExampleInstrumentedTest is working. This is my test file, I already comment out everything, leaving an empty function @RunWith(AndroidJUnit4ClassRunner::class) class ExploreFragmentTest { …
BabyishTank
  • 1,329
  • 3
  • 18
  • 39
14
votes
1 answer

Espresso Tests cannot access class file

I get the following errors where i try to run a ui test. /Users/etiennelawlor/workspace/MovieHub/app/src/androidTest/java/com/etiennelawlor/moviehub/MoviesFragmentTest.java Error:(34, 28) error: cannot access AppCompatActivity class file for…
Etienne Lawlor
  • 6,817
  • 18
  • 77
  • 89
14
votes
4 answers

No ID for my Android UI Testing

I would like to write some UI Test on my Android application in order to take automated screenshots. My application is written with React-Native. In order to write my tests in need to know the resource-id of my component but as you can see in this…
G.Sabathier
  • 377
  • 1
  • 4
  • 13
14
votes
5 answers

UITesting Xcode 7: How to tell if XCUIElement is visible?

I am automating an app using UI Testing in Xcode 7. I have a scrollview with XCUIElements (including buttons, etc) all the way down it. Sometimes the XCUIElements are visible, sometimes they hidden too far up or down the scrollview (depending on…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
14
votes
3 answers

Protractor: How to locate a sibling of a given element?

...
I want to get a protractor element for the img tag with image class. I already know the link text 'LINK'. In other words, "How do I locate a sibling of a given…
user1879408
  • 1,948
  • 3
  • 17
  • 27
13
votes
2 answers

Incomplete universal character name in UI Testing

I am using Xcode 7's new feature : UI Testing. After recording the interaction, Xcode generated the code automatically : - (void)testDoubleTapToolBarItem { [[[XCUIApplication alloc] init].tabBars.buttons[@"\U5173\U6ce8"] doubleTap]; …
Zigii Wong
  • 7,766
  • 8
  • 51
  • 79
13
votes
8 answers

Who writes the automated UI tests? Developers or Testers?

We're in the initial stages of a large project, and have decided that some form of automated UI testing is likely going to be useful for us, but have not yet sorted out exactly how this is going to work... The primary goal is to automate a basic…
Orion Edwards
  • 121,657
  • 64
  • 239
  • 328
12
votes
5 answers

How do I erase an Xcode 10 simulator clone through CLI?

Do they share the same UDID? How are they implemented under the hood? The scenario is I have 4 clones running UI tests in parallel. I need a clean simulator for some tests (but want to keep random test order)
Alexandre G
  • 1,655
  • 20
  • 30
12
votes
4 answers

Microsoft UI Automation Library Vs Coded UI Test

I'm very much new to Test Automation kind of thing. Recently I've been assigned to a project where I have to write an application (or, a script may be, I'm not sure) that will automate the UI testing of a CAD-like WPF application which misses lots…
atiyar
  • 7,762
  • 6
  • 34
  • 75
12
votes
2 answers

UITest color of a label (not UI label)

Here is a pic of the table I'm working with. I'm just trying to get the color of "requested" (gray) or "draft" (orange). I'm able to get the actual string of "requested" or "draft" by var timeSheetStatus = …
user3613290
  • 461
  • 6
  • 18
12
votes
2 answers

Jenkins not showing Test Result Trend graph for some projects

Im using Jenkins to run UI Testing suites for various xcode projects. Most of the projects shows the 'Test Result Trend' graph with no problem. However, one of my projects fails to show the graph. I have run the build a few times found but cannot…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
12
votes
1 answer

Xcode 7: is chasm between app tests and UI tests unbridgeable?

Xcode 7† has a new way to test your UI directly, including a new testing target "iOS UI Testing Bundle" (or "OS X"). In the UI testing target, it appears there's no built-in access to the model or classes that comprise your App. E.g. [UIApplication…
Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
12
votes
5 answers

TestContext is null when it is accessed from base class's virtual method

I have a base class ScriptBase which has a virtual function called MyTestInitialize(). When I call MyTestInitialize() from derived class, then the value of testContextInstance is null. Is there any solution for this? Please help as I am new to…
user3012888
  • 123
  • 1
  • 2
  • 5
12
votes
2 answers

Windows service that interacts with desktop screen resolution

I configured Jenkins as Selenium Grid and some Jenkins Nodes as Selenium Nodes (controlled by Jenkins Selenium plugin). The nodes are connected with the option "Let Jenkins control this Windows Slave as Windows Service". The service is defined…
orshachar
  • 4,837
  • 14
  • 45
  • 68
12
votes
1 answer

Unable to get Robotium to work in Android Studio

I'm struggling to get Robotium to work on the gradle-based Android Studio and I can't find the way to do it This is my build.gradle file buildscript { dependencies { repositories { mavenCentral() mavenLocal() …
MariusBudin
  • 1,277
  • 1
  • 10
  • 21
1 2
3
55 56