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.

Coded UI tests are automated user interface tests which can be created with Visual Studio starting from 2010 in each of the versions Ultimate and Premium, and starting in 2015 in Visual Studio Enterprise.

A Coded UI test can be used for the functional testing of the UI controls in Web, WPF, Silverlight and Windows Forms user interfaces.

Coded UI Test for automated UI-driven functional testing is deprecated. Visual Studio 2019 is the last version where Coded UI Test will be available.

1849 questions
0
votes
1 answer

Console not appearing when running Coded UI test

I am working on a Coded UI test, and what I need to do is prompt the user for a range of excel cells, the test then passes those ranges as strings into the method and pulls the data from those cells. I've got the passing/pulling the data working…
jacksonSD
  • 677
  • 2
  • 13
  • 27
0
votes
2 answers

Customizing Visual Studio run configuration to run tests after launching application

Here are the details of my Development Environment: Visual Studio 2012 Ultimate with Update 4 Google Chrome Version 38.0.2125.111 m Windows 7 Professional with 32-bit Operating System Coded UITest Builder 11.0.60315.1 Microsoft Coded UITest…
0
votes
0 answers

Coded UI : UIControl not visible exception is throwing when trying to click next(page navigation button) in IE11

We have a Coded UI hybrid framework and what ever the actions that I have to perform there is a generic code which basically does that. Like Mouse click events. So here is my problem. Control is visible but through coded ui it is throwing control…
Bendram
  • 120
  • 1
  • 9
0
votes
1 answer

Coded ui playback via labs (kicked off from MTM), how do you set the screen resolution of the active desktop session?

I've setup labs in such a way that the agent account automatically logs in, this means I no longer need an rdc session. The problem is that the screen resolution is 800x600 during playback. How can I adjust this to a more realistic resolution?
JL.
  • 78,954
  • 126
  • 311
  • 459
0
votes
1 answer

Failure to find Chrome Browser Window using Microsoft CodedUI for automated tests

Here are the details of my Development Environment: Visual Studio 2012 Ultimate with Update 4 Google Chrome Version 38.0.2125.111 m Windows 7 Professional with 32-bit Operating System Coded UITest Builder 11.0.60315.1 Our software team is creating…
0
votes
1 answer

How can I get same innertext ptoperty value in all browsers (IE, Chrome and Firefox)

I am new to selenium. I am doing cross browser testing using CUIT. Whenever I record action in IE and playback in chrome my tests are failing because of innertext property value is different in IE and Chrome. Most of my test scripts are depending…
0
votes
1 answer

What are Search, Control Specific and Generic in Coded UI Test Builder

In the Coded UI Test Builder, when I select a control, in the right panel there are 3 categories of properties for the control: Search, Control Specific and Generic: What is the difference between them? I know I can use the properties in the Search…
Chin
  • 19,717
  • 37
  • 107
  • 164
0
votes
1 answer

Coded ui tests fail when running more than 1 together using MTM

I have a project plan setup which contains some automated tests. The entire environment seems to be setup correctly, that is the controller is registered to the team project collection, and the agent is running interactively on the desktop of a…
JL.
  • 78,954
  • 126
  • 311
  • 459
0
votes
0 answers

How do I prevent the VM in Microsoft Environment Viewer hijacking my "local" mouse during coded-ui automation test runs?

I've successfully run CUIT automations for about a year without this problem. I use the Microsoft Environment Viewer bundled with Microsoft Test Manager and Visual Studio 2013 to connect to the machines in a SCVMM/Hyper-V lab environment. Then I…
phillihp
  • 151
  • 1
  • 9
0
votes
2 answers

Coded UI test fails to find component in WPF application

I'm trying to run a coded UI test on our application. I can record the actions OK, but when attempting to playback, I get Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the…
doobop
  • 4,465
  • 2
  • 28
  • 39
0
votes
1 answer

Coded UI Tests Cross Browser Testing Design Patterns

Does anyone know a good book/blog/resource explaining design patterns for cross browser testing projects? The MSDN link below explains how to set everything up.…
MoreInput
  • 35
  • 4
0
votes
1 answer

Can I run Coded Ui Test on a minimized RDP window?

I am running the Coded-UI test through command-line as scheduled task on a VM via RDP. I just found that when I tried to minimize the RDP window, the tests were halted. Is there anyway that I can run the tests without an open RDP windows or I can…
Qiang
  • 1
  • 1
0
votes
1 answer

Microsoft Test Manager Test Case not using latest associated test method code

My server is set up correctly, as far as I can tell. When I select "Run" for a test case in MTM the test reaches out to the controller and executes the associated automation (test method) on the server. So...I updated my Test Method in my Coded UI…
0
votes
1 answer

Coded UI for Windows Mobile application testing

I have installed Visual Studio 2013 Ultimate in my Windows 7 machine. How to start with automation testing of Windows Phone application? While creating new project I am not finding Store Apps->Windows Apps option in my New Project creation window.
rakshitha
  • 3
  • 7
0
votes
0 answers

How to initialize an object inside a custom logger - CUID

I'm writing a custom logger following this msdn blog and it's working I'm able to print in console the results of the test executions but now I need to improve this report and when I try to initialize an object or call a static method the logger…
figuedmundo
  • 375
  • 1
  • 4
  • 15