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
8
votes
1 answer

Coded UI Test not finding SilverlightUIAutomationHelper assembly

I'm trying to do some coded UI tests with Visual Studio 2010 on my SharePoint 2010 site. A particular file in SharePoint launches my Silverlight application in a separate window. I've added the SilerlightUIAutomationHelper assembly as a reference in…
tnw
  • 13,521
  • 15
  • 70
  • 111
7
votes
5 answers

Launching the "Coded UI Test Builder" without creating a new Coded UI Test

The Coded UI Test Builder application in Visual Studio is very useful when hand-writing Coded UI Tests. It has an 'inspector' type tool that shows properties for a selected control, which makes searching for the control very simple. At the moment…
Kirk Broadhurst
  • 27,836
  • 16
  • 104
  • 169
7
votes
1 answer

Selenide tests hang in Firefox

I'm experiencing a problem running Selenide tests in Firefox version 46. When tests run separately everything works fine. But when I run all test methods in class it hangs on the following step: addons.productaddons INFO sending request to:…
Dmitry Senkovich
  • 5,521
  • 8
  • 37
  • 74
7
votes
0 answers

How to do Coded UI Test Automation in a UWP App having only a WebView

I have made a UWP Application that contains only a WebView. When the App is launched the WebView is given the URL to the Azure Remote App login page where I can login using my Azure AD Credentials and use an App (e.g. Excel) after login. Now the…
Saurabh Rai
  • 361
  • 2
  • 18
7
votes
1 answer

Swift UI Test Find Custom UIView XCUIElement

I want to find a UIView XCUIElement, but I can't seem to locate it. This UIView is used to display certain information to the user, and I need to be able to test if it is on screen in certain situations. I have view.userInteractionEnabled set to…
Alex
  • 3,861
  • 5
  • 28
  • 44
7
votes
2 answers

Coded UI Test - Windows - Universal Apps

I am trying to automated testing of windows apps using coded-ui-test project using vs2013 ultimate edition. I can see those templates for C# desktop applications under test category and for phone application under windows phone category. I cannot…
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93
7
votes
1 answer

How to Call VSTS Coded Ui Scripts to QTP?

I am trying to execute my Coded UI Scripts on QTP. First I created a dll for my Coded UI Project later I am able to access the methods from that dll but i am not able to access Coded UI testing methods. Example: the below script is in C# in…
Sravan
  • 71
  • 2
6
votes
1 answer

How to disable IE8 script error message?

I'm using CodedUI on IE8, and get this error message: Stop running this script? A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive. I've read some forums…
6
votes
3 answers

CUIT (Coded UI Tests) + MVVM -- Do I have to start naming all my controls now?

Basically, with MVVM I have a lot of my controls unnamed because it isn't necessary to give a Name (or x:Name) to controls anymore. But, looking into coded UI Tests it seems as if I might have to go through and name all my controls again? Or did I…
myermian
  • 31,823
  • 24
  • 123
  • 215
6
votes
3 answers

Error creating Coded UI Test in Visual Studio 2010 Ultimate

I am attempting to create a Coded UI Test in a Visual Studio 2010 test project. I right click on the project, Select Add Select Coded UI Test I then get the error warning: The following package failed to load: C:\Users[File Path…
Steve French
  • 961
  • 3
  • 13
  • 38
6
votes
3 answers

Where do I get SilverlightUIAutomationHelper.dll?

We have a Silverlight solution that worked fine on our old computers. It was set up for coded UI tests, so the projects reference Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper. Then we got new machines, and…
Joe White
  • 94,807
  • 60
  • 220
  • 330
6
votes
1 answer

Is it possible to deploy Visual Studio Coded UI Tests to Azure or EC2 as Test Agents?

I'm not that entirely familiar with the testing suite that comes with Visual Studio 2010 (Ultimate) but I'm trying to find a means to produce something similar to Selenium Grid with the Coded UI Tests. I'd like to be able to deploy agents to Azure…
6
votes
2 answers

WatiN best practices/rules of thumb for an ASP.NET MVC app

I'm an avid TDD and BDD fan but haven't done much in the ways of UI testing. I have an ASP.NET MVC 3 application with many MSpec tests and I'd like to add presentation tests using WatiN. What sort of stuff do you test? Do I have to write tests for…
Sergi Papaseit
  • 15,999
  • 16
  • 67
  • 101
6
votes
3 answers

Publishing test assemblies with artifacts in order to use them during functional tests on VSTS

I am having a really hard time trying to figure out how to properly configure functional tests on my realease pipeline. I have a solution that contains some web projects being built using the default build configuration in VSTS. The artifact is ok…
6
votes
2 answers

How to know where the cursor is in a WpfEdit field with CodedUI automation?

On the CodedUI WpfEdit class there is a way to get the selected text, but I cannot find a way to get the cursor position when nothing is selected (i.e. the index of the caret in the text). Is there anything available for that in the CodedUI…
Evren Kuzucuoglu
  • 3,781
  • 28
  • 51