Enhance Coded UI Test to include the many common features found in commercial-off-the-shelf software test automation packages like SmartBear's Test Complete. These packages typically feature very rich functionality in mapping and managing UI control objects, whereas Coded UI does not. Packages like Test Complete also boast an impressive list of technologies with which it is compatible. Coded UI is limited in this respect as well.
In CodedUI Test, while creating a UIMap, the GUI tool does not allow copying/cutting and pasting objects in the tree from one node to another. In order to do this, one has to open the UI Map in XML editor. It would be logical to provide such a functionality (It already exists in the object repository for tival tools like HP Quick Test Professional). It allows organizing the UIMap better (since UIMap object recording tends to create unnecesary parent replications for each new object added)
We have a backlog item to add more features to manage UI Maps & maintain Coded UI Test in the Coded UI Test Editor.
It would be great if Microsoft made Codedui work cross platform especially on iOS, Android, and OSX. Having to use third party tools that don't integrate with TFS is a pain and a gap in the ALM story from Microsoft.
Peter Collins commented
We have moved to using Sikuli for our automation testing. It'd be great if the next version of CodedUI had a simular way of authoring test scripts.
I really like CodedUI's logging with the UIActionTest.Html file but sikuli just is easier to maintain for our test group.
Keving nembras commented
Working with coded UI is painfully slow and error prone. Coded UI is fragile and doesnt allow the fast generation of automation tests.
I look forward to improvements and please make it so our testers don't have to use UFT.
I'd like to run codedUI tests in a headless way so that I don't have to have an interactive desktop session.
I also would like to have the recorder be composable and easier to work with control hierarchy and merging different UIMaps.
I can't believe that if I want to extract a UIMAP function to the UIMAP.CS I can only move one function at a time and that I have to close the UIMAP file each time to be able to extract a new function. We have UIMAPs that have hundreds of functions and we want to be able to move the functions between UIMAP files. Speaking of UIMAP files, I'd like to be able to get the searchconfigurations and searchproperties moved out of the UIMap.Designer and have it so that I'm not manaully having to copy the search properties and search configurations for each of the detected controls. It's really a pain to work with CodedUI when working with UIMAPs and in order to get anything of significance to work with CodedUI we have to resort to code.
We also are facing the cross platform UI Testing challenge and CodedUI testing just isn't a viable solution....so how does MS test Office in a cross platform UI way? I saw this video on C++ cross platform code...is there a C++ version of CodedUI for cross platform UI testing? https://www.youtube.com/watch?v=3HROqnw-nf4
It would get great to be able to have a better edit and recording experience in CodedUI. I'd also like a way to be able to visualize the UIMap Controls and where they are on the screen. It'd be great to click a button and have all the controls on a screen captured and highlighted. We develop an enterprise ERP solution that's WPF based...but we also have a version for iPad under development and we don't have an easy way to test the iPAD UI layer.
Saide Folwet commented
I would really like to see better support for dynamically changing window titles in CodedUI. It's really hard to have to work with automating applications when the title bar is always changing and codedui doesn't have support for .contains in a simple and straightforward manner. See this post here: https://social.msdn.microsoft.com/Forums/en-US/de7e7d37-4775-4218-9601-0ecf138a207c/best-practice-using-dynamically-changing-window-captions-that-impact-windowtitlesadd-search?forum=vsautotest
Jim Edwards (TESCO) commented
I really wish it was easier to debug broken codedui tests. I find that I am constantly having to change the search properties after each recorded step to try and figure out why a control couldn't be located. It's tedious and it leads to mistakes when trying to record specific steps and validate that the steps work. It would be great to have a visualization or heads up display while the test is executing showing me what the control was looking for and being able to re-run the test several times to quickly and easily get it to work repeatedly.
Arun Ram commented
CodedUI is really painful, complex, and not at all easy to work with, not to mention lacking any real documentation of data-driven tests.
I want the ease of use of UFT with the user friendliness of TestComplete, and the open community of Selenium.
Is there a list of improvements from VS 2012 to VS 2013 for codedui? We are still on VS 2012 and from a cursory look around it doesn't look like there's been improvement.
This uservoice item was opened in July of 2011...it's been 3 years surely there's been improvements to codedui, but what?
Yong Wang commented
CodedUI should generate a independent COM dll such that autoIt and ruby can load the COM and execute codedUI Automation in the COM. If this function already exist, please point me to the URL
Burdette Lamar commented
I've written about how I'm building "hand coded" CUITs on my blog. Couple of topics:
Jim Hazen commented
Not trying to dog pile on this thread, but as someone who has been using these types of tools since 1991 I have to say that Coded UI is missing the target badly. The way the Generate Code functionality just spits code all over and creating Classes out of everything is just nuts. The UIMap is a nightmare unto itself too.
This reminds me of the old MS-Test/Visual Test tool that was just a mess too. You guys did a decent job with the Load/Performance Test tool/functionality (and it looks kinda like LoadRunner, which is good), but you need to go look at QTP/UFT and TestComplete for a model of what a 'real' test automation is and how it does its work.
I'm working with a client now on automation of their testing, and as I get deeper into VS 2012 Coded UI and how it does things, and how to do some things within it I am almost to the point of saying punt and go with TestComplete or QTP/UFT.
I don't need some 'automagical' tool like some other vendors are now pushing, but I need something better than this that allows me to get my work going quickly and not have to figure out where the **** it is putting code when I use Generate Code to prototype my test script structure.
Give support to Coded UI to record Menu and Sub menu items in window forms application. Currently CodedUI does not record any mouse clicks on Menu /Sub menu items. This is a basic requirement to create scripts on winforms application. I am surprised this support isn't available in CodedUI
I googled and found this post when I was looking to edit an action recording. Is there a way to edit an account recording after it's been saved? I know I can edit the steps while recording but I have test cases with 25-50 steps so it becomes challenging to have to re-record all the steps from the beginning.
Also it would be very nice if there was a way with the codedui tooling to automatically generate a UI Map with all of the controls on the screen being included in the UIMap instead of manually having to map each control.
Oline Vanderbug commented
I really want a way to be able to edit action recordings in MTM after I spend like 3 or 4 hours recording an action recording for a test case that has 300+ steps. Working with Action Recordings is very difficult in VS 2012.
It would be nice if this feature can be included in Coded UI Test Editor or Builder.
I have created Utility to reconstruct the UIMap.
Link to Utility is found at http://uimaphierarchyeditor.codeplex.com/
Hi Have been using Coded Ui from last two years i am felling comfortable working with this tool,
we have automated two big applications,
even when i started working with Coded Ui i don't know any thing about C # when when you get used to then it is really easy and maintainable i am not talking about record and play back.
I need the easy of use of QTP for test automation!!!
+1 on getting QTP functionality + Key word based UI testing.
Diwan Bisht commented
1- Does VSTS-Codded UI has any Object Spy feature.
2- Does it has any Descriptive Programming technique like QTP (there are some object which Codded UI is not able to record) so that can we use Descritipve programming like QTP?
Thanks in Advance....