Tuesday, January 31, 2017

Why we need global variables

Hi all.

Few weeks ago I went to Visual Studio Online and discovered new feature of TFS 2017.
It was looking like this window:

How split permission for build engineer if you don't have access to production

Hi all.
I don't write a lot of time. So I'm deep learning development on .Net and have not had time.
I decided to tell you about my experience in our company.
We know, that team foundation server has "Release management tools". Actually from the name of this tool we understand that with this tools we can deploy to production your code.

Monday, August 1, 2016

Vnext build definition waiting agent

Hi.
In this post I want describe short article about execution build definition.

Test Agent :Could not load file or assembly Microsoft.VisualStudio.QualityTools.CodedUITestFramework Part2

Hi everybody!
In this post I want continue describe issue, which was public in part one part one.
I see that this article has big interest. and I decide continue help fix this issue.
If you didn't read article, this is short context of this article.
During execution tests on test agent, you probably see error:

Unit Test Adapter threw exception: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
But first  article describe issue with TFS 2013(2015)+Build Controller 2013+Test Controller 2013+Test Agent 2013.

If your team still use Test Agent 2013, you probably see this issue with soft:
TFS 2015+Build Controller 2015+Test Controller 2013+Test Agent 2013.

If you did recommendation in first article but it still not work, you can try follow way:
-Try to install Visual studio (ideal Enterprise version) to build agent.
 When we install to this path C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\ Visual studio., some of subdirectory (don't remember the name) has required library.

After this we fix this error.

Or quick but bad way: change build controller to version 2013.
So this chain is working:
TFS 2015+Build Controller 2015+Test Controller 2013+Test Agent 2013.

Good luck to all.

Thursday, June 9, 2016

Faile execute test(s): Error calling Initialization method for test class




Hi.
Today  I want discuss short issue with execute codedUI test on test agent.
If you see this error:

Error calling Initialization method for test class ***: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop. This could happen if the computer running the test is locked or it’s remote session window is minimized.

Monday, April 18, 2016

Test agent 2013: The setup batch file exited with error code 1


Hi. Today I want show you how resolve errors connect with execute batch file in deploy step before
execute tests.

So in my case I have:
  1. TFS 2015
  2. Test Controller 2013
  3. Test Agent 2013
  4. Microsoft Test Manager.
 Imagine, that you have task execute tests before execute tests. You write this script and put it to Microsoft test manager in (Advance -> Scripts).

Tuesday, March 29, 2016