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
0 answers

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.VisualStudio.TestTools.UITesting.dll

I'm trying write a console application that will run my coded ui test using 2013 visual studio premium. The full error message I'm getting is: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in…
0
votes
1 answer

UITestControl not found in Firefox using Selenium components for CodedUI

I'm running into issues while debugging my automated Coded UI tests. The action is trying to click on a hyperlink on a web page. On IE 8+ and Chrome 36, this works as expected. However, on Firefox (downgraded to 26, even), it thinks the control…
Ryan Cox
  • 938
  • 1
  • 7
  • 22
0
votes
1 answer

Is it possible to fetch data from Excel file with a descriptive script ? Coded UI C#

Here is my script.. // 3.Enter value into fields //Firstname UITestControl objfirstname = new UITestControl(browser); objfirstname.TechnologyName = "Web"; objfirstname.SearchProperties.Add("Name", "firstname"); objfirstname.SetProperty("Text",…
0
votes
0 answers

When automatic test navigates to Password recovery link the button won't react but manually it works fine

I'm testing a web based application that provides a functionality for password recovery. The recovery works in such a way that the user enters their registered mail address linked to their account and the application sends out a mail to this…
Arha
  • 77
  • 1
  • 8
0
votes
2 answers

Coded UI Test - waiting for running application to finish during the test

I am trying to create test for my-app using coded ui test with visual studio ultimate 2012, in my-app i run another app ( cmd window is opened during "another app" running). i want to wait until this "another app" finish running and then to check…
0
votes
0 answers

Coded UI don't recognize the object with same name recorded earlier

I am working on UI Automation of WPF application. I am using Coded UI for the same.I use coded ui test builder to record different object on screen, while i am recording for the fist time objects are recognised in given hierarchy(for eg) Application…
Harindra
  • 11
  • 1
0
votes
0 answers

Coded UI Property from a Label, but the label.text value did not change

I hope you can Help me with this. I'm doing an Automation script in VS 2012 with C# and I need change the value of a Property so I'm doing this HtmlLabel htmlLabel = new HtmlLabel(tableDocuments); …
burq24
  • 279
  • 1
  • 5
  • 18
0
votes
2 answers

I want to click on a Wincontrol that is not visible in the window using Coded UI

I have a Wincontrol that is not visible in the window,i have to drag on the scroll bar to make it visible. How can I use coded UI to access the wincontrol
0
votes
2 answers

Coded-UI Auto Generate UIMap

I have been looking into using MS Coded-UI as part of a new testing initative. We have exisitng UI automation using the HP stack QC/QTP but have found this to be very heavy weight and error prone, and as a result are looking to coded-ui in a bit to…
PMC2013
  • 35
  • 2
  • 6
0
votes
2 answers

CodedUI search for grandchild control?

I have a table which has multiple rows. I want to verify that a specific string StringName is in the table. I used CodedUI to find the control, and the UI map is like this: public class UIItemTable : WpfTable { #region Fields private…
CherryQu
  • 3,343
  • 9
  • 40
  • 65
0
votes
2 answers

Why is my TearDown method throwing the following System.TypeLoadException?

The Set Up I have TFS 2012, VS 2013 and Test Controller 2013 on my machine which runs Windows 8.1 x64 I have installed a Windows 7 x86 VM and on it I've installed VS 2012, VS 2013 and Test Controller 2012 (in that order). The VM is my test…
0
votes
1 answer

why VS2012 Coded UI Test records mouse clicks as points

i was trying to create simple Coded UI Test in VS2012 for a MVC Web App. I recorded my actions and when i say a generated code i saw my mouse clicks were recorded as points (x,y) where i clicked. I was expecting it should pick the clicked element as…
Raas Masood
  • 1,475
  • 3
  • 23
  • 61
0
votes
1 answer

Can we add custom action to HtmlLoggerState

I'm using VS2013/CodedUI and my palybacksetting is as follow: Playback.PlaybackSettings.LoggerOverrideState = HtmlLoggerState.AllActionSnapshot; I also have a 3rd party tool that I have integrated to my code that does some action that codedui…
eetawil
  • 1,601
  • 3
  • 15
  • 26
0
votes
1 answer

VS2013 - Coded UI Tests - how to disable logging

After migrating my coded ui test from VS2012 to VS2013 I'm facing a debug trace logging problem. What ever the used configuration I still getting debug trace messages !!! I did add the following configuration :
Issamo-san
  • 26
  • 3
0
votes
3 answers

Method for a try-catch C#

I have a small issue, I have to try-catch each recorded method that I am currently using ( Coded UI Test project ) in order to generate a txt file where I see the results of the test. This is how it looks like : [TestMethod(),…
ExtremeSwat
  • 794
  • 1
  • 12
  • 34
1 2 3
99
100