Questions tagged [coded-ui-tests]

Coded UI tests are automated User Interface tests that can be created with Visual Studio to test different kinds of user interfaces, allowing for verification of user application functionality.

Filter by
Sorted by
Tagged with
0 votes
0 answers
75 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 ...
user3054735's user avatar
0 votes
0 answers
46 views

How to run unit tests using UITestMethodAttribute with WindowsAppSDK?

I'm trying to create unit tests for views in my WindowsAppSDK application. I want to be able to run tests with the UITestMethodAttribute. I'm running into build errors and the test host process ...
eric-v's user avatar
  • 3
0 votes
0 answers
36 views

count how many elements are exist within the same CLASS_NAME in the page

I'm currently writing a UI test for creating a new message in my app, I ran into an issue with asserting that the message is actually created. The assertion I want to make contain two stages, First, ...
DorS's user avatar
  • 1
0 votes
0 answers
46 views

VS2022 Coded UI Tests: failing with message Class not registered

I've built a coded UI test project and I'm trying to run a coded UI test from Test explorer launched from VS2022 which is running as administrator. I am facing an issue while running the test as it ...
Mohd Ahmed's user avatar
  • 1,432
0 votes
0 answers
24 views

Cannot find Xamarin.UI Cross-Platform Test Project in Visual Studio and create UI tests for Xamarin Forms

I am trying to write UI tests for Xamarin Forms app (just for Android for the start). According to various tutorials I should see: Add new project > Visual C# > Test > Xamarin.UI Cross-...
vytaute's user avatar
  • 1,310
0 votes
0 answers
61 views

Chromedriver.exe UI Testing Error with AzureDevOps

EasyRepo Selenium Tests running on Visual Studio 2019, but i get an error stating that the "Chrome Driver" does not exist, however the chromedriver.exe does indeed exist. I want to conduct ...
Josh Ov's user avatar
  • 59
0 votes
0 answers
16 views

When I run/debug each testcases individually the application get closed.Even after CloseOnPlaybackCleanup set to false

I'm trying to prevent the application from getting closed after a test run. My case I'm running each test case individually but I need my application to open even after the test case run. I tried ...
user2281545's user avatar
0 votes
0 answers
96 views

Using window softinputmode in jetpack compose ui test

I have the following activity in the AndroidManifest file for the AndroidTest project: <activity android:name=".SoftInputActivity" android:...
TickL Me Tibbers's user avatar
1 vote
0 answers
37 views

UI test using VS2019

I recently installed visual studio 2019 community edition. I see that it does not have Coded UI test feature How can i automate a program? any ideas? I need to open an application created with .net , ...
samee's user avatar
  • 23
3 votes
0 answers
62 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 ...
Sofi Tatarinova's user avatar
0 votes
0 answers
45 views

How can i run Ui tests without viewing the screen in Windows?

I have an app service in Azure that I want to run some UI tests on . The issue is that I need to always have the VM screen visible for the tests to run. Is there a way I can run them in command line ...
Kristy's user avatar
  • 29
0 votes
1 answer
44 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 ...
Martin's user avatar
  • 11.6k
-2 votes
1 answer
115 views

Ways to automate Outlook Application

After every patching we test basic Outlook functionality like able to send email etc, wanted to check if there is any way to automate the Outlook UI.
Kalava's user avatar
  • 241
3 votes
2 answers
3k 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....
RockyGlobal's user avatar
0 votes
1 answer
256 views

if else statement not working in testcafe

async selectLocalAdmin(){ if(this.localAdmin.visible){ await t.click(this.localAdmin); } else{ console.log('not visible'); } } I was trying to add some if else ...
Aarushi Garg's user avatar
1 vote
1 answer
436 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 ...
Aleksey Parokq's user avatar
0 votes
1 answer
14 views

Application controls are getting identified differently by CodedUi Test Builder

I am not able to Identify correct control of an application by Coded Ui Test Builder Seee this Image
DEDH SHANNA's user avatar
1 vote
1 answer
2k 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 ...
Павел Родин's user avatar
0 votes
1 answer
532 views

Using cypress-testrail-accumulative-reporter

I've set cypress-testrail-accumulative-reporter to use on my project. But the testrun that is created each time contains ALL existing in testrail cases. What I need it's created test run with only a ...
hanna's user avatar
  • 1
0 votes
1 answer
737 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 ...
Shantanu Methikar's user avatar
0 votes
1 answer
230 views

unable to move VSTEST coded ui tests to Azure DevOps

I have a suite of working Coded UI tests, written in C#, all marked as [TestMethod], written in VS 2013 and running on a set of VMWare machines, using the MS Test Agent (version 12.0). I am building a ...
Moshe Bar-Nachoom's user avatar
1 vote
0 answers
627 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 ...
AShX's user avatar
  • 388
2 votes
1 answer
979 views

Can i use xpath to find element that contains "::after"?

Xpath newbie here. My target element has only one unique feature, it contains ::after. I can't figure out how to use this feature in an xpath expression, googling didn't help much. code looks smth ...
overgoer's user avatar
1 vote
0 answers
278 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 ...
OORTEGA's user avatar
  • 11
-1 votes
1 answer
205 views

Using Cypress.Promise to get list values in test for comparisons and searches

My question I know ahead of time may not be a "best practice" but I promise you I won't understand the "best practice" until I can implement the question at hand and then ...
agnazawt's user avatar
0 votes
0 answers
592 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 ...
monotype's user avatar
  • 317
0 votes
1 answer
4k views

data: 'Failed to deserialize params.x - BINDINGS: mandatory field missing at position 47'

i'm using gauge automated ui tests with taiko integration written in javascript. I cant find a way to solve my problem. Here is the error i got. message: 'Invalid parameters', data: 'Failed to ...
Umut Ozan Ozyildirim's user avatar
2 votes
0 answers
194 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 ...
Lex Brouwers's user avatar
2 votes
2 answers
2k views

How to disable chromedriver auto updates

One of the recurring questions I have found is "How to disable google chrome updates" After some research, renaming the update folder and making sure the service gupdate never runs does the ...
Joel Almeida's user avatar
0 votes
1 answer
695 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 ...
adamasan's user avatar
  • 1,122
1 vote
0 answers
25 views

CodedUITest frontend interaction using another local user (impersonation)

I am currently doing some maintenance on a C# CodedUITest. It is testing the frontend on our software which is installed in validated mode (=> which means it can only be used by the "...
Krrrrankenwagen's user avatar
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 ...
Alex L's user avatar
  • 25
1 vote
3 answers
2k views

Xcuitest - How can I wait until image finished to load

I'm running my UiTests on app that uses images/videos from the camera roll/Google photos/Etc.. All the images/videos are in CollectionView and each asset is in a specific cell. When the app opens the &...
nir barzilay's user avatar
-1 votes
1 answer
448 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. ...
Pauli's user avatar
  • 353
1 vote
0 answers
44 views

How to detect test controls at a coordinate position during runtime using Coded UI?

I have a grid in which I need to detect the last cell, I'm trying to get the bounding rectangle values of the grid and detect the control inside near the bottom right corner. I am looking for ...
user avatar
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 ...
Nati A Chramm's user avatar
-2 votes
1 answer
58 views

load and perfomance testing from Multiple location using coded ui

I need to load and performance test 500 virtual users load with 5 different locations so can I do it with microsoft coded ui. Load and performance testing from a different location is important in my ...
Hrishabh Kushwah's user avatar
2 votes
1 answer
368 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, ...
Snooze's user avatar
  • 197
0 votes
1 answer
143 views

Coded UI compiled DLLs in Selenium?

I am trying to use Coded UI compiled Dlls in Selenium project. I Created on Class Library Project in Visual Studio where I created on class in this i write one simple method to draw highlight the "...
Surya Rao's user avatar
1 vote
1 answer
819 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 ...
Ref's user avatar
  • 27
1 vote
1 answer
83 views

CodedUI, SpecFlow: Trying to get the menu options from a button

There is a button with a dropdown and 2 options/menuitems in my application. I am able to click the button using codedUI but I am unable to click the menuitems from the button. Following the C# code ...
Onnesh's user avatar
  • 1,189
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"]....
Kevin ABRIOUX's user avatar
1 vote
1 answer
1k views

UI support by UIAutomationClient

I am looking for some details about UIAutomationClient. I want to know which type of element\application it supports like WPF, Win 32, JAVA, Sliverlight. If anyone has a link where all the supported ...
user4455714's user avatar
0 votes
0 answers
439 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 ...
Swati's user avatar
  • 1
0 votes
0 answers
181 views

Refresh information in tab WPF

I am a beginner automation tester. I am testing WPF application with CodedUITest. I have big problem. I need to refresh information in a tab. Not in a control, but in a tab. For example: I have a ...
Vladis's user avatar
  • 1
0 votes
0 answers
17 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 ...
Karishma Mayur's user avatar
0 votes
1 answer
233 views

UIAComWrapper assembly is throwing error while building solution

Automation solution is cleaning and building properly but while building it using build definition its throwing error, Its checking with the file on location where we are saving the builded solution ...
Laveen sharma's user avatar
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 ...
alisheikh's user avatar
2 votes
1 answer
1k views

runsettings test file values not being applied

I have downloaded Visual Studio 2019 and the Coded UI components and am currently trying to run web browser automation testing. The test is working fine but the test.runsettings file that I have ...
Seán-Pól's user avatar
1 vote
1 answer
288 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 ...
Josh's user avatar
  • 834

1
2 3 4 5
37