1,109 questions
Advice
0
votes
1
replies
26
views
Android Jetpack Compose UI testing: equivalent of espresso clearFocus()?
It is common to test inline errors by filling out a textfield and then clearing focus, as the validation happens after the user is done with it. In espresso that can look like:
onView(allOf(...
0
votes
0
answers
31
views
Scroll into LazyGrid in a UI test (Android)
I've encountered an issue where my UI test freezes specifically on the performScrollToNode() function when testing a screen that contains a LazyVerticalGrid. The test enters an apparent infinite loop, ...
1
vote
0
answers
54
views
How to run Cypress UI and API tests under k6 performance measuring control?
I want to run Cypress tests on a website and measure the performance with k6. Currently I run the Cypress tests on Windows locally and in a GitLab pipeline. I followed these video tutorials (https://...
0
votes
0
answers
45
views
Karate UI tests failing with connection refused and exit code 137 when running Chrome
I’m running Karate UI tests (Karate 1.5) with type: 'chrome'.
The non-UI (API) tests run fine, but the UI-based tests frequently fail with:
[WARN] [com.intuit.karate.shell.Command.run] - exit code was ...
0
votes
0
answers
37
views
Espresso perform click not working on API 35 but manual click does
I have a large app with hundreds of UI tests, and moving from an emulator on API 34 to 35 causes exactly one failure.
A simple perform(click()) call on spanned text does not work, yet does not fail. ...
0
votes
1
answer
78
views
Truclient recording login page
I have to do UI Testing for one of my application. I have tried JMeter ui scripting using webdriver plugin but execution fails at even 5 users as multiple browser get invoked and we are unable to ...
0
votes
1
answer
57
views
Flaky Espresso test sometimes throws AmbiguousViewMatcherException
I ran into an issue at work where an Espresso test failed once about every 10-20 times. When it failed, it was with an AmbiguousViewMatcherException. What seemed to be happening is that when slides ...
0
votes
0
answers
28
views
Selenium Unable to Interact with Taskpane Elements in Outlook Add-in
I'm using Selenium and Chrome WebDriver to automate UI testing for a taskpane-based Outlook add-in. While Selenium can interact with the main Outlook web app, it fails to locate or interact with ...
1
vote
0
answers
100
views
How to retry playwrigth tests with Java?
We are using playwrigth for some UI tests which are flaky. So I want to retry each test a couple of times before marking it as failed. So I created my own JUnit 5 extension. But unfortunatelly it ...
0
votes
0
answers
26
views
How to change the pageLoadStrategy for a specific test/test suite?
I have a page for which I write autotests to fill out the form. The form elements are loaded immediately, but background requests do not allow the browser to return the page loading event. Therefore, ...
-1
votes
1
answer
102
views
Using screen.getByText("With hard coded text") a good practice in Angular testing? [closed]
I am wondering about selecting elements by their text content using screen.getByText. My question is around the reliability of this approach. If the text value changes, the test will fail, which may ...
1
vote
2
answers
83
views
Is there any way to get the request URL in karate UI test? not the current url in browser, because the site can’t be reached
when I do UI test in karate, I want to get a request url from web, the page will not load, every time the request url will have a unique code in it, the code is what I need in later test.
I cannot use ...
0
votes
1
answer
83
views
ObservableCollection Clear makes FlaUI cannot read DataItem
I have an WPF application using CommunityToolkit.Mvvm, which is working and now I want to use FlaUI to create automated UI testing.
When I start application, I have window like this
and in FlaUInspect ...
0
votes
1
answer
19
views
Integer gives NPE in launchFragmentInContainer bundle in espresso testing
I have a fragment which waits for an integer from args. The code itself works fine, but when I want to write a UI test for this fragment it gives me a
java.lang.NullPointerException: null cannot be ...
0
votes
1
answer
71
views
Why does install4j sometimes start a separate process after the language selection dialog and sometimes not?
I'm working on automated UI testing.
When I start the installer on a physical Win 11 Pro machine, a separate process is created after the initial language selection dialog.
When the installer is ...