Coded UI tests are automated UI tests that can be created with Visual Studio 2010 Ultimate or Visual Studio 2010 Premium to test different kinds of user interface: web, WPF, Silverlight and Windows Forms.
0
votes
0answers
11 views
Working with CodedUITestBuilder programatically
I want to build an application on top of CUIT engine.
I want to have a button in my application, that will launch Coded UI Test Builder.
Then when the user is done and clicks 'Generate' I want to ...
0
votes
0answers
3 views
Mimic Control.Refresh() in UITestControl object
I'm looking to add a Refresh (similar to Control.Refresh()) to the UITestControl object.
Ex:
UITestControl testControl = new UITestControl();
testControl.Refresh();
I thought about creating an ...
0
votes
1answer
21 views
Set Search Property Value to a Variable
I have a control which is a TreeView node that will always be set to the name of the PC you're currently running the tested software on. Therefore I need the Search Property for the control's Name ...
0
votes
0answers
9 views
Dropdown AutoPostBack not firing in Coded UI Tests
I have a asp.net web page with a dropdown that posts back to the server when an item is selected (e.g. AutoPostBack =true).
I am using coded ui to create tests. The postback on the dropdown works ...
0
votes
0answers
12 views
BeforeFeature/AfterFeature does not work using SpecFlow and Coded UI
I am not able to define a [BeforeFeature]/[AfterFeature] hook for my feature file.
The application under test is WPF standalone desktop applications.
If I use [BeforeScenario]/[AfterScenario] ...
0
votes
0answers
19 views
Combine Coded UI Test HTML Logs?
After running my Coded UI tests in Visual Studio 2012 I wanted the test results to be logged to an HTML file. After following this tutorial I was able to achieve this.
Unfortunately, every single ...
1
vote
0answers
24 views
Coded UI Test_C#_manual_intervention
I want to intervene execution of a coded UI test in C# by keyboard or mouse interactions. For example I would like to pause a test by pressing Tab key and continue to it when I press Tab key again . ...
0
votes
1answer
33 views
Visual Studio 2012 Coded UI Testing - Cannot perform 'Click' on the hidden control
I am trying to create Coded UI Tests for our application developped in C++ but I am having issues detecing a menuitem and I am having the following error:
When I run the DrawHighlight,it doesn't ...
0
votes
2answers
28 views
Coded UI Tests with different DPI settings
I have two main issues, both depending on the DPI settings:
How can I test different DPI Settings with Coded UI Tests?
How could I check ALL my forms, dialogs in my project, if all
controls are ...
0
votes
1answer
13 views
No Test Runs Listed Under 'Test Runs'
In Visual Studio 2012 (Update 2) I have a test. The test is correctly displayed under the Test Explorer window and from there I can run the test and it passes successfully. However I want to view the ...
0
votes
2answers
31 views
Coded UI Unit Test Excel Connection String Not Working
I am trying to use coded ui with dynamic data from an excel spreadsheet (xlsx). There seems to be an issue with my DataSource attribute. I get an error saying failed to connect to datasource. Here ...
0
votes
0answers
12 views
How to Access button present in WPF cell of WPF table
I am Testing WPF Application using Coded UI.. My testcase is like verifying whether button is enabled or not. wpf button is present in wpftcell which is in the wpftable.
public void ...
0
votes
1answer
14 views
coded ui : mouse hover fails on different machine
I have recorded a test, in which mouse hover over a link.
on the same machine(say m/c A), where i recorded the test, mouse hovers over the link correctly.
But when running the same test on different ...
0
votes
0answers
21 views
Coded UI can't define control after scroll down
Problem - Coded UI can't define control after scroll down.
Pre-condition: I use following aproach for describing controls on the form: (Example: Window - > Custom - Expander - Control N).
I open ...
0
votes
1answer
26 views
Why my .cs and .designer.cs files doesn't appears under my uitest files in Visual Studio?
After a refactoring some of my files doesn't appears anymore under my uitest structure in Visual Studio. Everything works fine. I can build, test and create new action in my uitest files.
The correct ...
0
votes
0answers
21 views
Coded UI Test for a website having lots of ajax calls
I tried to create a Coded UI Test for performance load test of websites that has lots of ajax calls -- the service server is ASP.NET. Once the page is loaded, automatically ajax requests are invoked.
...
0
votes
0answers
16 views
How to call Coded UI test method from ASP.Net web page
I am trying to run an automated coded ui test from an web application.
I am facing a wired problem, while trying to call the coded UI test method from web page during run time (I have added the ...
0
votes
0answers
13 views
How do i retrieve HTML metadata using coded UI?
I have to retrieve data from Meta tags but when I add the whole page control, it just shows the HTMLBody, how can I check for the meta data
0
votes
0answers
36 views
Run Coded UI Test using MSTest and Remote Runspace in Powershell
I am trying to execute a Coded UI Test remotely in a client machine that already has the test agent installed. I use the Runspace method to connect in the machine and calls Powershell to execute the ...
1
vote
1answer
35 views
Test Automation - CodedUI is unable to differentiate between different controls in the application
I'm using Visual Studio 2010 Ultimate - visual c# - codedUI.
I'm putting together some automated testing for a client (smoke testing, regression testing, etc.) however the application I'm trying to ...
-1
votes
0answers
28 views
How to start a Coded UI Test from MSTests.class?
i have a Questions to the MSTest.class. The MSTest.class in Visual Stuido represents the activity that runs tests using MSTest.
MSTest.class
I tried to start a simple example using the mstest.class ...
0
votes
1answer
26 views
Is it possible to execute coded UI tests recorded with DevExpress “Universal” licencse in MSTest?
I got the following Question,
Background:
im using devexpress's dxperience license and i want to record some coded ui tests. the problem is i cant record devexpress controls with the dxperience ...
0
votes
0answers
58 views
WPF & Specflow & Coded UI Tests: Exception when using Examples without an application restart
I am using Specflow and Coded UI Tests to check if input validation in a WPF application works as expected. I have a feature like the following:
@InputValidation
Feature: Foo
Scenario Outline: Bar
...
0
votes
0answers
29 views
Coded UI Test Build Issue
I have a lot of coded ui test. I have updated tfs2012. It gives an error when I build it. It was working correct before updating. Where is the problem,thanks. (Test cases were working on test agent ...
0
votes
0answers
70 views
Executing coded UI test from a target machine's mstest(standalone). Dll's/Files needed!! :(
i set up mstest on target machine as standalone program without installing visual studio. So i copied the files(*.exe's,dll's) mstest needed to the target machine and register all dlls in gac which ...
0
votes
0answers
71 views
CodedUI tests failing due to missing assembly reference?
I have a coded UI test built with VS2010 for TFS2010 running on machine A. I have a test agent installed on machine A that the tests run on successfully. My testsettings file>Roles is set to ...
0
votes
1answer
59 views
Coded UI Cross browser firefox does not work
I have an issue with codedUI. I have recorded step in Internet explorer. Step are lunching a website, login to the website and more... I tehn installed CodedUITestCrossBrowser following the ...
0
votes
1answer
38 views
Coded UI test Single Thread Apartment (STA) error occurred while executing [ClassCleanup] method
Why do I get a STA error while my class is performing a clean-up method in a coded UI test but seems the concrete test methods works fine. My code looks like the ff:
[CodedUITest]
public ...
0
votes
1answer
25 views
CodedUITests: Can i cancel a testrun when some requierements in ClassInitialize couldnt reached?
is there a way to cancel a testrun in ClassInitialize()? For example, i start the application i wanted to do some test with in my ClassInitialize() method. If the application couldnt be started i ...
1
vote
0answers
63 views
Coded UI tests - cannot resolve symbol UITesting
I'm trying to use the assemblies like this in a VS2012 project:
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ...
0
votes
0answers
58 views
VS2012 with Update 2 - Cross Browser Testing with Chrome Issues
I am currently implementing cross browser testing for our application and have come across with an issue for Chrome 26.0.1410.64 m (including some older versions). When i run a CUIT, Chrome is ...
4
votes
1answer
61 views
Running one test on a remote test controller/agent
I have unit tests set up to run on a build server. I just added a codedUI test which isn't running because I need to set the controller to run in interactive mode. Because we couldn't alter the ...
0
votes
0answers
23 views
How to verify h-alignment of htmledit control using coded ui or C#
How to verify h-alignment of htmledit control using coded ui or C#?I need to verify html edit control is "Left" aligned...
1
vote
1answer
87 views
Any good resources on Coded UI Tests? [closed]
Does anyone have any good resources for how to use Coded UI Tests? All the examples and tutorials and stuff that I've found are for very simple basic UI stuff and I just don't see how that can ...
0
votes
1answer
43 views
Coded UI test as part of gated check-in
I have coded UI tests running locally just fine, because I can open up IE and point the window at localhost. When I attempt to run these tests on the build server, they fail because the window isn't ...
0
votes
1answer
157 views
Coded UI Tests: HOW can i set the search properties for recording?
i wanted to inform myself about Coded UI Tests. So i created some coded ui tests and played a bit around.
But now im at a point i cant help myself. I have the following problem. When i do record some ...
0
votes
0answers
22 views
Verifying that javascript files have loaded with a coded UI test?
Is there any way to assert that some files have been loaded into the browser via a coded UI test, without necessarily hitting F12 and manually navigating to those files in the browser?
-3
votes
1answer
187 views
What are the advantages of Selenium over VS2010 Codede UI Test? [closed]
What are the advantages of Selenium over VS2010 Codede UI Test?
What are the differences betweem selenium and coded ui test?
0
votes
0answers
43 views
How to Set up the executable environment for Microsoft Coded UI
We've adopted Team Foundation Service 2012 and its Build and Test tools in my company, but we have faced a problem when we started using CodedUI for Application Testing.
The problem is that we don't ...
0
votes
1answer
44 views
Using external VS2012 premium solution to create CUIT without source code
Microsoft Coded UI Test (CUIT). Can I create an independent (external) Visual Studio 2012 Premium or Ultimate solution in C# to record on my application UI without the application's source code? ...
0
votes
1answer
108 views
Cross Browser Support for Coded UI
I have Recorded Coded UI Test With Silverlight 5 Application With IE Browser. but when i am trying to Run it for Chrome it's not working.
For non silverlight application it is working fine.
I have ...
0
votes
0answers
54 views
MSTest generated .TRX test results file contains non - english characters
Why does the .trx file (generated to display the results) sometimes shows non-english characters , can it be controlled by doing some configuration, as it is an automatically generated file using test ...
0
votes
0answers
34 views
Exception from Hresult: 0xf004f006
I have a coded UI test project, It seems when I try to do a playback on a log in control, my script cannot type in the textbox. I Have re-recorded as well as broken up what I need to do ( IE, Click ...
0
votes
1answer
70 views
Internet Explorer in 64 Bit Mode is not Supported in Coded UI Test Builder
I know you must gone through my error.Actually what i am facing is, when i start recording through Coded UI Test Builder it is working fine. But when i record for an item whose value is coming from ...
1
vote
1answer
75 views
Coded ui objects in UIMap
I have a question regarding coded ui UIMap.
Every time I record an action on the same application, coded ui generates a new object for the same window in the application.
It looks like:
UIAdminWindow
...
4
votes
1answer
197 views
In C# Coded UI is there a way to wait for a control to be clickable
In coded ui there is a way to wait for a control to exist using UITestControl.WaitForControlExist(waitTime);. Is there a way to wait for a control to not exist?
The best way I could think of is to ...
0
votes
1answer
97 views
Test Settings setup and cleanup scripts
I have a batch file, I have created test settings in Lab Center. I want to run setup script om microsoft test manager but it gives an error. Thanks,
TestOutcome 'Error'; Message 'The setup batch file ...
1
vote
1answer
49 views
How to capture the name of the Build selected in Test Manager for Coded UI Test VS2012
I need to pass the name of the Build that was assigned by Microsoft Test Manager for the CodedUI Test.
For example, before the execution of a test I select the Build and start execution. In my ...
0
votes
1answer
50 views
Difference between CodedUI and UISpy
What is the difference between CodedUI and UISpy? Does both use same mechanism?
I need to implement support for UISPY in my own custom grid control[WinForms] to recognize each cell as like in the MS ...
0
votes
0answers
57 views
Can not connect to Team Foundation Service data source for coded ui tests
When running Coded UI Tests locally on my machine that have parameterized values in the Test Cases stored in Team Foundation Service, I get the error:
The unit test adapter failed to connect to ...