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.
1,845
questions
-1
votes
0
answers
51
views
How can I send a text in a textbox?
I am trying to send text into a textbox which is a desktop application and I am able to get the XPath using the page source.
With this piece of code, I am able to highlight the value in the textbox, ...
0
votes
0
answers
66
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
votes
0
answers
12
views
Connect CodedUI to TFS
I've written a coded UI test for my web application and looking for different options to automatically run it. Apparently the first option is to run it from visual studio. I have also found an article ...
0
votes
0
answers
20
views
How to perform a UI test gesture in voiceover(accessibility) mode?
example: When voiceover is turned on expected behaviour while performing a swipe right is that the next element should be highlighted. But this gesture swipes to the next screen. (This is the expected ...
0
votes
0
answers
39
views
Dynamically grab data for data driven tests in CodeceptJs
I want to run data driven tests in CodeceptJs, but I don't have a fixed data set. I have to grab the data before the test. I am on a webpage, that has a table and inside that table I find my data. I ...
0
votes
0
answers
107
views
how to load chrome profile with Selenium
so I am trying to make a test in which the first step is logging in but it is denying me access has it detected automation tools because the javascript has not been enabled and there is no profile. so ...
0
votes
1
answer
44
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 ...
0
votes
0
answers
17
views
Coded UI Test Builder - Required reboot to start recorder not working
I am running a free version of VS 2019 Enterprise to test the Record function but when I click the 'Start Recording' button I get the bellow popup.
I have restarted my computer multiple times and ...
0
votes
1
answer
112
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 ...
0
votes
0
answers
39
views
accessing tableview cell by index in XCTestCase swift
I am accessing the cell element by using index but taping the wrong cell in UItest.
any help would be appreciated. thanks.
MainScreen()
.launchApp()
....
0
votes
1
answer
11
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
1
vote
1
answer
769
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
309
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 ...
0
votes
1
answer
217
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 ...
0
votes
1
answer
119
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 ...
1
vote
0
answers
391
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
1
answer
191
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 ...
1
vote
0
answers
154
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
votes
1
answer
125
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 ...
0
votes
0
answers
170
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 ...
-1
votes
1
answer
2k
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 ...
2
votes
0
answers
101
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 ...
1
vote
2
answers
1k
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 ...
0
votes
1
answer
350
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 ...
1
vote
0
answers
18
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 "...
0
votes
0
answers
109
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
vote
3
answers
997
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 &...
-1
votes
1
answer
344
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. ...
1
vote
0
answers
36
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 ...
3
votes
1
answer
2k
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
46
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 ...
2
votes
1
answer
234
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, ...
0
votes
1
answer
110
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 "...
1
vote
1
answer
563
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 ...
1
vote
1
answer
54
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 ...
1
vote
2
answers
976
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"]....
1
vote
1
answer
558
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 ...
0
votes
0
answers
286
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
153
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 ...
0
votes
0
answers
16
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 ...
0
votes
1
answer
151
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 ...
0
votes
1
answer
3k
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
917
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 ...
1
vote
1
answer
241
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
1
answer
350
views
Can not select value in a combo box in coded UI test using coded UI test builder
I am working on a WPF application which has several custom controls. I am using coded UI test builder to create a script for my application testing. When I run the test, it gives me an exception and ...
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 ...
0
votes
3
answers
3k
views
Failing the whole Test Suite if one Test Case fails while running dependent test through VSTS
I have dependent test cases in my suite. If my first test fails it marks all other test as fail as well. So at the end it show that all all the test cases has failed which is not true.
Is there a way ...
8
votes
1
answer
7k
views
CdkDragDrop unit testing events
So, i've been working on unit testing for my Angular app. I'm using Angular Material and i have a component which uses the drag-drop CDK cdk drag-drop API.
the html code looks like this
<mat-...
0
votes
1
answer
172
views
How to use CodedUI for automation of an angular or reactjs application?
Require a low maintenance automation framework which can support Angular as well as react application. Please suggest any record and play framework the same. Also need to know if CodedUI supports ...
0
votes
0
answers
412
views
Azure Dev Build Release Test Execution getting aborted
Whenever I try to run the coded UI test in On-premise agent machine with Azure build-release pipeline my tests are getting aborted since yesterday. I have changed nothing on the release pipeline and ...