Tagged Questions
0
votes
1answer
54 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 ...
2
votes
2answers
189 views
Passing parameters to a Coded UI Test which is run from command line with MSTest.exe
I have a CodedUiTest which has several test methods. I want to be able to pass a different path to the test each time I execute it from the command line via MSTest. How can I achieve this?
This is ...
0
votes
2answers
163 views
TFS not deploying referenced assembly to test dir when on build server
I have Coded-UI test project that has references to other assemblies in solution. Somehow some assemblies are not copied to TestResults/Out directory, while others are copied. All assemblies have Copy ...
4
votes
3answers
98 views
Visual Studio adds bin file to project
Environment:VS 2010. TFS.
For one of my projects, whenever I compile, VS adds a bin folder to my project. I can delete it, but when I compile, it is re-added. This is a behavior I have not seen ...
0
votes
0answers
75 views
CodedUI: custom framework vs of-the-shelf framework [closed]
I'm working on an automation framework for a mid size system consisting of a web site, two desktop applications and an integration service.
I have in mind an multilayered architecture with:
Data ...
0
votes
4answers
111 views
Using a Static class as a collection/container of other objects
I have a design question. I'm working with a Coded UI test framework that someone wrote and I am maintaining. I am convinced the way this is designed incorrectly but I thought I would get some other ...
1
vote
1answer
562 views
How to run coded UI test with MSTest.ese without installing Visual Studio 2010
I am working with Coded UI automation. The issue is to customize test case execution. I cannot use TFS or Lab agent or any other tool. The test components (DLL) are executed through a customized UI ...
0
votes
1answer
95 views
Is there a way to run code after an MSTest fails and only after it fails no other time
I have created coded UI tests and I want to close and reopen the application after a test fails. Right now I have my tests set up so that it runs the application in the beginning of all the tests ...
0
votes
1answer
662 views
How to run Coded UI test via MS Agent, from code?
I have a Lab Management environment (2010), with deployed agents and controller, TFS, etc. I have Coded UI tests running successfully on my virtual environments, reporting results to TFS.
What I want ...
2
votes
1answer
345 views
Coded UI test and Load test
I have been searching the internet but have not been able to find any real information on, is it possible to have coded UI test recorded in VS that can run with a load test in VS?
If it is could some ...
4
votes
2answers
943 views
How to run Coded UI Test thought TFS CI without active remote session?
I experienced a problem to launch Coded UI Tests thought TFS CI without remote session. I have done all recommdation mentioned in http://msdn.microsoft.com/en-us/library/dd293551.aspx, still requires ...
1
vote
2answers
1k views
Coded UI Tests: Start application under test only if it is not already running
When using "Coded UI tests" in Visual Studio 2010, is there an easy way to start the application under test (AUT) only if the AUT is not already running?
I know that I can implement such a piece of ...
0
votes
1answer
450 views
How to refresh UIMap object in CodedUI
Can i refresh UIMap object ?
Problem is I change the location of UI element on and I again try to get the AutomationElement at that time I get AutomationELment but its BoundingRectanle is infinity.
...
0
votes
0answers
400 views
Check control for showing on display? or is hidden? (coded UI test)
heyhey,
the problem on my issue is to check if a control is behind another control or is hidden for a CODED UI TEST.
the starting point is the following:
a panel includes a list of persons. there ...
0
votes
1answer
124 views
What is the significance of the red outline in a failed Coded UI test screenshot?
I'm trying to debug a VS2010 Coded UI test which is supposed to find and select a particular row in a WinTable. The test passes on my local machine, but fails on our nightly test run (which executes ...
0
votes
1answer
1k views
Add coded control to UIMap (Coded UI Test)
I would like to add a handwritten coded control to my UIMap.cs (not UIMap.Designer.cs).
For example, when I record: writing in a texBox, I get the following code in UIMap.Designer.cs:
public class ...
0
votes
1answer
260 views
Second Coded UI test within a group of tests executed from VS2010 hangs and makes all subsequent tests fail
I have a whole lot of Coded UI tests that I developed as part of our integration, system, and acceptance testing suite.
By definition each test has to start from a clean slate, and as such any given ...
2
votes
1answer
169 views
how to generate MSTEST results in Static folders
Is there a way to control the name of the MSTEST video recoding file names or the folder names with the test name. It seems to generate different guid everytime and thus very difficult to map the test ...
1
vote
1answer
235 views
MSTest log file shows invalid counts for results of orderedtest
I have tried many orderedtests and the .trx file always shows the wrong count?
for instance, if i had an orderedtest with 2 tests, the results look like this in the .trx file (results summary node):
...
10
votes
2answers
4k views
CodedUI tests - start a browser once for the entire set of tests
I'm writing some codedUI tests in VS2010 to test a web application. I'd like to be able to open the browser once for the entire set of tests in the solution and then close it again when the tests ...
1
vote
0answers
134 views
Creating a Coded UI Test , on a web site that uses SSL
Has anyone had any problems when creating a codedUI test when hitting a website which has an https connection. When creating a test manually I can connect fine (using IE7), however when recording my ...
1
vote
1answer
961 views
MsTest noob - how to set up testing infrastructure the right way
We are a MSFT shop with a far-reaching MSDN license.
After many years of doing things wrong, we finally have to start doing automated testing.
My group is the Guinea pigs at this. We need to create ...
0
votes
1answer
136 views
Can you invoke a control rather than launch an app for coded ui tests?
I have code such that:
[CodedUITest]
public class CodedUITest1
{
[TestMethod]
public void CodedUITestMethod1( )
{
using(var dlg = new MyWinForm( ))
{
dlg.Show();
...
2
votes
1answer
941 views
How to run Coded UI Tests without Visual Studio 2010 Premium
I want to ask you if it is possible to build and run coded ui tests without Visual Studio 2010 Premium installed?
Or can I just install Visual Studio 2010 Premium and use it command line without ...