Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 interface.

0
votes
0answers
11 views

How to run codedUI test on visual studio build pipeline

I have a simple test case developed by codedui. Open run by windows +r Add "iexplorer" Hit enter Navigate to my web page Do an assertion. I can run this on my local PC.But is there any way to set up ...
0
votes
0answers
13 views

How to run coded ui test on visual studio online pipeline

At the visual studio online i have seen we can add test assemblies as a pipeline item. I was able to build my test solution but how to execute it. This is a codedui test.
2
votes
2answers
120 views

Automation Testing Tool Options for Desktop Applications

I'm in the process of researching solutions for desk application testing for a product my company developed. There's no API, so I'm looking for other software solutions. I didn't see any recent ...
0
votes
0answers
49 views

Coded UI automation is not running in EDGE

I wrote a web automation in coded UI. It runs successfully in Internet Explorer. But while running on the edge, the edge browser launches but then the automation fails with the following error: ...
1
vote
1answer
163 views

Coded UI automation not working in Chrome

I have installed the following: Visual Studio 2017 Chrome Browser - Version 67.0.3396.99 (Official Build) (64-bit) Chrome Driver- 2.40 While running a coded UI automation in Visual Studios, I am ...
1
vote
0answers
30 views

Should I be using DeploymentItem attribute in CodedUI?

I have few automated test cases written with CodedUI, and I'm using Excel file for keeping test data as my DataSource and also using XML files for keeping the Element locators (ID, Name etc.) All ...
0
votes
1answer
494 views

Automated UI Testing Tools for UWP Win10 Touchscreen Tablet Mobile Apps

What are some tools for Automated UI Testing of a UWP Windows 10 Touchscreen Tablet App? I would prefer a tool that allows emulation, records steps, writes the code, outputs errors in notepad, and ...
2
votes
7answers
149 views

Video / Screen Capture based testing tool?

Does anyone know a good piece of software which software engineers / testers / etc can use to do either (1) manual testing or (2) automated testing? It should have the ability to do a screen capture ...
1
vote
0answers
66 views

Setting text on WpfEdit control throws pile of exceptions that are then caught — Is this typical?

I'm doing some coded UI automation, and I've noticed something odd when debugging. When I try and set the text on a WpfEdit control Control.Text = "foo", the system throws a gigantic pile of ...
1
vote
0answers
114 views

Issue between UiaComWrapper and UIAutomation AutomationElement

Both UiaComWrapper and UIAutomationTypes contain 'AutomationElement' class and its related properties. UiaComWrapper is added by default for every CodedUI project. How can I change UiaComWrapper '...
1
vote
0answers
277 views

Specflow CodedUI Generator Plugin not generating feature files

Okay. So here is where I am at. I am using Specflow 2.2.0 to pair automated unit testing with our CodedUI testing effort. I am developing a plugin to add the CodedUI Test attribute to the Specflow ...
5
votes
1answer
301 views

Coded UI not able to recognize menu items

I am using Coded UI for creating functional tests of a WPF application. That application is having a main menu which user needs to click in order to navigate to different screens. Issue is: If I ...
3
votes
1answer
3k views

How to use .xlsx Excel files as Data Source for Coded UI test?

I want to use ".xlsx" format Excel file as Data Source in my hand coding Coded UI test. The best information I get is found in MSDN: Creating a Data-Driven Coded UI Test, which has useful information ...
1
vote
2answers
420 views

Cast UITestControl to AutomationElement

Using the below code (for example) I can cast AutomationElement to UITestControl AutomationElement e = AutomationElement.FromHandle(Window.WindowHandle); UITestControl u = UITestControlFactory....
1
vote
1answer
746 views

CodedUI vs. UI Automation

Does CodedUI uses the Microsoft UI Automation for finding WPF controls and taking any action (like click or adding value to text box)? If not what is the difference between both. The reason why I ...
1
vote
1answer
372 views

Coded UI selecting a Check box inner

This is my code I need to select the checkbox but couldn't select the checkbox. <label class=""> <span class="label-input"> <div class="icheckbox" style="position: relative;"...
2
votes
3answers
1k views

How much C# should I learn in order to work with CodedUI?

I will switch to CodedUI from UFT for test automation and don't want to stay with VB any more. I am learning C# from Pluralsight currently and wondering how much and what level I should complete to be ...
2
votes
1answer
40 views

Creating abstract test in Intern js

In the application I am working on for UI testing with intern. There are certain modules that have similar components and functions. So I'm trying to figure out the way to create an Abstract test for ...
3
votes
0answers
115 views

Issue with multiple tabs on WPF application using CodedUI

I am working on creating automated test cases for a WPF application using CodedUI. This application contains multiple modules like M1, M2, M3 etc. and I can open these modules from the menu item links....
1
vote
3answers
311 views

How to apply POM to single window application using CodedUI

How can one apply Window Object Model to a WPF application (or POM for web application) that actually doesn't contain different windows? Actually, I'm working on automating WPF application using ...
-1
votes
1answer
926 views

For Test Scripts , Coded UI Option not available in Visual studio 2015 [closed]

I have tried installing VS2015 community edition and professional edition both. In the tutorials , there is a option for CodedUI available in Visual C# > Test .
2
votes
4answers
391 views

org.openqa.selenium.NoSuchElementException when I run the selenium code by using a loop

I'm getting an Exception as below ,when i run the selenium code by using a loop. It executes some steps and then display the message. Exception in thread "main" org.openqa.selenium....
8
votes
0answers
236 views

Error: Unable to find window while the window is already displayed in LDTP

I'm using LDTP to write a GUI test case script in python. I'm running the script in a virtual machine by nosetests. And I get block with the error of unable to find window X ,while window X is ...
3
votes
2answers
77 views

What techniques can I use to determine the reasons for intermittent automated UI test failures?

Intermittent failures of UI feature specs that run in browsers but fail intermittently are the bane of automated testers lives and I've experienced them at every place I've worked at. Not so much ...
0
votes
1answer
364 views

How to give multiple Class names with or condition in Coded UI search properties [closed]

this.SearchProperties[WinWindow.PropertyNames.ClassName] = ".class1 or .class2";
0
votes
1answer
945 views

How to reuse non-IE browsers in CodedUI using C#

I'm trying to execute some CodedUI test actions in Visual Studio 2012 using various browsers. In order to execute several test methods without losing the browser window that is open, for IE I've ...
0
votes
1answer
87 views

Coded UI - How can I assert a date field (combo box) which is changing name dynamically?

I am making automation for Desktop .net application. one of the challanges i am facing is date combo box which is name changing everyday uIItem22Ağustos2016PazDropDown part changing everyday... ...
0
votes
1answer
585 views

Coded UI scripts fail when remote desktop minimized or locked

I am using remote desktop to run my Coded UI scripts. When I minimize remote desktop window or lock my PC test cases starts to fail. Anyone had this problem? Can you recommend some solutions?
2
votes
1answer
427 views

How beneficial to install DevExpress extension to my Visual studio 12?

I am using Visual studio Coded UI as a test automation tool. Our project manager asked us to install DevExpress extension to VS2012. I have been searching online but I didn't figure out how DevExpress ...
1
vote
3answers
2k views

Is it possible to use MS Coded UI Test framework to test Java GUI application?

MSDN page Supported Configurations and Platforms for Coded UI Tests and Action Recordings tells that Java platform is not supported. But now Java development is possible with Visual Studio Team ...
1
vote
0answers
412 views

Coded UI test cases not running on 64 bit machine

I have created some test cases in Coded UI on 32-bit machine and now I have got another machine for running these test cases (which is 64 bit machine), when I executed my test cases using that machine,...
1
vote
1answer
1k views

Suggest some freeware GUI Automation Testing tools for Windows Desktop Applications [duplicate]

Please suggest some tools for automated GUI Testing of Windows Desktop Application. Freeware tools which can compete with Coded UI test projects.
1
vote
0answers
496 views

Coded UI doesn't work in windows 10 and Visual studio 2015

When I try to record and play a window app like calculator it does not record while it works for a web site and browsers. My windows version is 10 and Visual Studio version is 15. It says you ...
2
votes
2answers
5k views

How to set ComboBox value in Coded UI using Value Attribute?

In coded UI is there a way to set the value of a ComboBox using the value of Value Attribute. Consider the following Html of a ComboBox: <select name="ParametersID" tabindex="-1" title="ABC" class=...
2
votes
1answer
471 views

Coded UI Test Explorer execution order?

What is the order of test cases execution in Coded UI? I have my test cases created in Coded UI and they all follow a naming convention e.g. _, so my test cases name looks like: ...
0
votes
1answer
52 views

MS test Manager Training?

Using MS Test Manager to manage my test cases and looking for a certification course for Test Manager and automation testing using Coded UI. Any suggestions on finding a company that offers MS ...
1
vote
1answer
667 views

Not able to click Left Navigation icon using Coded UI

I am using Coded UI for creating Automated test cases and have encountered an issue. There is a menu icon inside on the Homepage and clicking on this icon will expand the Left Navigation, so that user ...
2
votes
1answer
82 views

Is it possible to Serialize a UITestControl (when using Coded UI)?

Let me start by saying that currently I am not using the record and playback features of Coded UI, nor am I using the UIMap features. I am trying to speed up the performance of my Coded UI tests (...
2
votes
5answers
4k views

How to Select/Check Radio Button Using Coded ui?

I am testing web based application and want to select radio button, but am unable to select it using coded UI automation. I have tried to find it using ID, Name, Value but all throwing the same error. ...
1
vote
1answer
83 views

Coded UI slows down in executing JS enabled fields

Coded UI test cases doesn't respond well on time if they encounter any field having JavaScript validation. Issue: Currently I am facing some issues with the time taken by Coded UI in execution of ...
0
votes
1answer
312 views

Data Driven testing using Coded UI

Is it possible to access more than 255 columns of Datasource (Excel) using Coded UI, currently I am using VSTS 2013 and found that Coded UI is not able to access more than 255 columns from the ...
1
vote
2answers
90 views

Quickest way to get ID and Name of all fields in single go

Currently, I am using the traditional way i.e. 'Inspect Element' (or Firebug or IE Developer) for getting value of ID and Name attributes of any field present over page for which I am creating test ...
1
vote
1answer
788 views

Issue with Radio buttons selection in Coded UI

I am using Coded UI for creating some test cases for a web application, while doing the same I have encountered an issue. I am not able to select a Radio Button using their Displayed Text, however if ...
1
vote
1answer
197 views

Coded UI data driven Load test issue

I have Web Performance Test created in Coded UI 2013, this test uses a csv file for providing the Form Post-parameters value. Now, from this performance test I have created a Load Test with number of ...
1
vote
0answers
2k views

Coded UI Test cases taking too much time to execute

Update: I used some hit and trial method for this issue and found that this issue of slowness occurs only when Coded UI (or my code) encounters any Date-Type text field. If there is no Date-Field over ...
3
votes
2answers
705 views

Coded UI Test case execution issue

I have some Coded UI test cases which are using external files e.g. XML files that contains the Element Name and ID to be located over a page. This XML file is used by Test Cases (under TestMethod ...
1
vote
1answer
958 views

How to read value from XML [closed]

I know this is a common question, but I have a requirement where I need to read values from XML file. Sturcture of the XML file is <?xml version="1.0" encoding="utf-8" ?> <root> <...
0
votes
1answer
588 views

Issue with Coded UI hand written Test cases

I have a test case with below mentioned code: [TestMethod] public void _001_Search() { BrowserWindow brw = BrowserWindow.FromProcess(proc_browserProcessNo); TopLeftNavigationLinks_Elements....
1
vote
2answers
1k views

Not able to find Coded UI .trx result files

I am using Coded UI in VSTS 2013 for creating automated tests using Coded UI Test Builder. I am able to create tests successfully but not able to view their result files. I found that there is a ...
1
vote
0answers
43 views

When I create 2 test case and record, it works fine individually but when I make them as 2 shared scripts it fails

When I create 2 test cases and run individually in MTM it works fine but when I make them as shared script and put them in one single script file and try to run it. It types same character in the ...