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

Where can I find the Visual Studio 2010 RTM release notes?

Question Where can I find a list of changes introduced to Visual Studio 2010 Ultimate RTM that were added since Visual Studio 2010 Ultimate RC? In fact, I'm only interested in changes related to MS Test Manager 2010 and Coded UI Tests. Where I have…
Lernkurve
  • 20,203
  • 28
  • 86
  • 118
0
votes
1 answer

TestMethod in Coded UI Test

I am creating a TestMethod in Coded UI Test that will access UI Control in my Windows Phone 8.1 apps. I used the async method to perform multi-thread tasking but I got the exception for my code like this: [TestMethod] async public…
Trang Le
  • 71
  • 1
  • 7
0
votes
2 answers

VS2010 Coded UI Test - Test builder unable to map two checkboxes with same text

I'm trying to create a coded UI test (with VS2010 Ultimate) for a simple web form page with two checkboxes and a submit hyperlink. The checkboxes have the same text label; "I Agree". Using the coded UI test builder to record actions, only one…
Dije
  • 3
  • 2
0
votes
1 answer

How to store the located controls in a separate class file (library) and use these controls in my TestMethods class

I am not clear on how i do it with the manual code and not using the recorded code. I have to write the manual code to avoid class complexity as i have to implement design pattern in the framework. Below is the code to identify a button control in…
0
votes
1 answer

Coded UI tests - run multiple tests

I have following problem. I need to run 10 tests in a row - driven by excel workbook. Each row is one test case. My problem is when I add the following line: [DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel…
0
votes
1 answer

CodedUI test script not executing from virtual machine windows 7

I am using Windows 7 in vmware fusion on my mac. I am using vs 2012 in Win7 VM and am able to record scripts. When I try to execute it doesnot reply. (write click on test method -> Run or from Test Explorer). It used to work perfectly find on…
0
votes
2 answers

How can I run the same Coded UI test with multiple input files

I am looking for a way to be able to run the same coded ui test class with different input files, e.g. I have a test with end to end flow in the app, I want to be able to run this test with two different users doing different workflows once inside…
Kamar
  • 3
  • 1
  • 2
0
votes
1 answer

Coded UI test failing in Visual Studio 2013 when entering a blank value from a csv into a WPF data grid

I am running a coded ui test in Visual Studio 2013 into a WPF data grid using values from a csv file. When I have a blank value in the csv file eg ,, it is working fine for input fields but when it comes to entering the empty string into a field on…
Helen
  • 25
  • 1
  • 6
0
votes
1 answer

Coded UI test fails after specific period of time on its own

It goes like this: in my test method, I have 3 Playback.Wait() calls. Each one is set to 2 minutes. Between those waits, I am doing some stuff here and there, - that stuff works, was tested without those 3 waits and is all OK. As soon as 3 waits are…
0
votes
0 answers

Code migration from visual studio 2012 to 2013

VISUAL STUDIO 2013 :After code migration from visual studio 2012 to 2013 ,When I am building my solution, its showing build successful. But when I am trying to run a test case, it showing no test cases found. error message: MStestadapter could not…
0
votes
1 answer

Coded UI Tests with external File and Load Tests VS2013

I need to write a coded UI tests which will open a word/PDF file and fire the print command through our own printer driver. I manage to successfully record the coded UI test and it is working for one user. Now I want to run this test as part of load…
0
votes
1 answer

How to debug the extension DLL in CodedUITest?

I am implementing coded ui support for my control , i am using custom properties for my control, so i have written extension file and paste it in below location C:\Program Files (x86)\Common Files\Microsoft…
0
votes
1 answer

VS2013 codedui not waiting for pageload to complete before searching for control

We recently migrated our codedui project from VS2010 to VS2013. Everything was working fine in VS2010, but in 2013 playback jumps to search controls as even before the page loads properly. To understand this properly consider this…
SarkarG
  • 687
  • 1
  • 8
  • 30
0
votes
1 answer

VS2012 CodedUI tests - how to publish and run on remote machine

I have recorded some CodedUI tests in VS2012. How do I get them to run on a remote machine? (The remote machine already has a test agent configured, connected to a Test Controller). In my .testsettings file, the dropdown to choose a Test Controller…
DomBat
  • 1,981
  • 5
  • 27
  • 42
0
votes
1 answer

Unable to find the vsmdi-file

Where can I find the VSMDI file needed to execute the codedUI tests outside of visual studios, in a command prompt. I googled and found the following line; %comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86 ^&^& cd…
1 2 3
99
100