1,834 questions
-3
votes
1
answer
48
views
Testing Ui jetpack compose that has hilt dagger [closed]
I want to test app that have dagger hilt in their app arciecture i need a small app code demo plaese help me
i want an code sample end to end with viemodel and fake repository .
i want a simple app ...
0
votes
1
answer
37
views
AutomationElement blocks when application show messagebox
I have an event in my WPF application that looks like this:
private void ShiftsDataGrid_OnBeginningEdit(object? sender, DataGridBeginningEditEventArgs e)
{
if (e.Column == ShiftIdColumn && ...
0
votes
0
answers
480
views
Playwright Media Keys using Keyboard
I'm trying to press the Media keys on the keyboard using Playwright / Typescript. For example, when playing audio using a browser, users are able to press 'Play/Pause, Forward, Backward' using the ...
3
votes
0
answers
187
views
How to avoid API requests shown when call npx cypress open? [duplicate]
I'm writing tests using Cypress for the UI of an application that has polling - it makes API requests every 2 seconds.
I would like to run the tests in the --headed mode (by npx cypress open) and to ...
0
votes
1
answer
113
views
Could not load file or assembly 'WebDriver, Version=2.53.1.0 when using coded UI Testing
Since today I get the following new Error message:
System.IO.FileLoadException: Could not load file or assembly 'WebDriver, Version=2.53.1.0, Culture=neutral, PublicKeyToken=1c2bd1631853048f' or one ...
8
votes
2
answers
7k
views
Not able to use MockK in Android Espresso UI Testing
I am getting a error when trying to use MockK in UI test which was perfectly working in Unittest cases
MockK could not self-attach a jvmti agent to the current VM
Full error report
Caused by: io....
1
vote
1
answer
489
views
Espresso test on Android getting wrong view hierarchy on logs while working properly on device
I wrote simple example test for Activity witch tests that when i click button - new fragment opens (LoginFragment). There is test class code:
@RunWith(AndroidJUnit4::class)
@LargeTest
class ...
1
vote
1
answer
3k
views
How to click input type=radio in webdriverIO
I'm trying to write some tests using WDIO but stumble on the following issue. I don't really understand how to click() input type=radio. Here how it looks in DOM
So I need to click the right one. I ...
0
votes
1
answer
1k
views
Usage of Azure Screen Resolution Utility with .yaml file
I am trying to run UI tests on Azure agent and one of the guidelines provided by Microsoft states the use of Screen Resolution Utility to fix the screen resolution during UI tests in visible mode.
The ...
1
vote
0
answers
769
views
Recyclerview Espresso testing causes androidx.test.espresso.PerformException
I have the next recyclerView that I needed to test.
public class DashboardRecyclerViewAdapter extends RecyclerView.Adapter<DashboardRecyclerViewAdapter.DashboardViewHolder> {
...typical rec ...
1
vote
0
answers
306
views
Switch Driver Control between Windows Desktop app and Chrome
Scenario : Windows app that open a chrome browser
Open Windows app
Click on a boutton, --> Open a browser separately
Native_app and Chrome_app work at the same time
I just want to switch between ...
1
vote
0
answers
1k
views
UI Automation with steam client
Is it possible to Automate the Steam Client? I want create app that auto login in steam account, mb launch game or smth other with steam client, I have not found any library that could manage the ...
2
votes
0
answers
250
views
SwiftUI - Can't find EnvironmentObject in UITests
I'm trying to use @EnvironmentObject in my UITests, but I get an error at runtime.
Thread 1: Fatal error: No ObservableObject of type Person found. A View.environmentObject(_:) for Person may be ...
0
votes
1
answer
1k
views
How can I use Sikuli4Net or SikuliSharp with Visual Studio for Mac to test .NET Core cross platform applications on MacOS?
I have a cross-platform desktop application written in Xamarin.Forms that runs both in Windows and MacOS. I want to do some UI automation on top of that application.
After some research it seems like ...
0
votes
0
answers
130
views
Protractor - select item from dropdown menu
I have a dropdown menu with dynamic number of options, and I'm trying to chose an option using protractor framework. I see that this issue has been raised several times, but I didn't succeed with any ...
-1
votes
1
answer
505
views
Swift UI Testing: Failed to install requested application
I recorded a UI test case and when I try to run it I get the following message:
"Failed to install the requested application. The bundle identifier of the application could not be determined. ...
3
votes
1
answer
3k
views
Unable To Associate Automated Tests with Test Cases
I'm automating tests by means of CodedUI in VS2015 Enterprice(.NET4.7.2) and running them from Azure DevOps. I need to associate manual test with automated test case via Work Item, but I don't see my ...
2
votes
1
answer
496
views
Dismiss In-App AppStore rating in UITests in Swift
Hello dear developers,
I'm currently stuck due to a problem with In-App AppStore rating (SKStoreReviewController).
Here is the situation, I've a screen "FirstScreen" with a button. When I tap on it, ...
1
vote
1
answer
1k
views
WinAppDriver tests fail when screen is locked
I am using winAppDriver to test UWP app but tests fail when screen is locked as it's not able to find the element and works ok when screen is not locked. Any solution to run winAppTest even screen is ...
2
votes
2
answers
2k
views
Access last element in XCUIElement
In my UI Test, i have this XCUIElement :
XCUIApplication().staticTexts["SUBMIT ORDER"]
When i make a print debugDescription :
po print(XCUIApplication().staticTexts["SUBMIT ORDER"]....
0
votes
0
answers
516
views
Build error 'CodedUITestAttribute could not be found'
I am getting a build error in VSTS 2019 and VSTS 2017 while checking in my code:
Error CS0246: The type or namespace name 'CodedUITestAttribute' could not be found (are you missing a using ...
0
votes
0
answers
18
views
Coded UI - Next test aborts after the current test timesout
I am running multiple coded ui tests and have the basic structure of [testinitialize] and [testcleanup] methods.
The cleanup method closes the application and I have a finally in the cleanup which ...
1
vote
1
answer
4k
views
How do I wait for an element using the WinAppDriver in UWP?
I'm currently migrating my Coded UI Tests for a UWP app to Appium using the WinAppDriver and I have come across the issue, that I can't wait for an element to show up. There is no way to wait for a ...
1
vote
1
answer
332
views
UIAComWrapper failing to return child nodes of WPF control that was previously COLLAPSED
I am attempting to create Coded UI tests on a WPF application. I am using Visual Studio 2019 to create / run the tests.
I am running into a strange behavior where a WPF button that was collapsed at ...
0
votes
0
answers
27
views
Element not interactable issue because of chrome browser version update (Session info: chrome=74.0.3729.157) (Driver info: chromedriver=74.0.3729.6) [duplicate]
Unable to click on a page links via HREF, but can click via link text
As we have a different version of the website where we have different languages so can't hard code the link text as it is ...