0
votes

We are trying to integrate the Coded UI Test automation into TFS 2015. The build definition is created and is working correctly. But Release Definition is having problem. Below are the tasks added for Release Definition: 1. Windows Machine File Copy 2. Visual Studio Test Agent Deployment 3. Run Functional Tests Please find the attached screen shots for each task:

WindowsMachineFileCopy

Visual Studio Test Agent Deployment

Run Functional Tests

Please find the attachment for the automated test case which is associated in Run Functional Test Task. Automated Test Case

The Release runs successfully till Visual Studio Test Agent Deployment. Even the Test Agent pop up is opened. After this, the browser is not getting opened i.e., while running Run functional Tests task, it throws below error: "Unit Test Adapter threw exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.."

I have placed all the dll's including the references in bin folder. Please find below screen shot: DLL's

I am using Visual Studio Premium 2012, Test Agent 2015 Update 3 and TFS 2015.

Installed Test Agent 2013 and now getting attached error in Deploy Test Agent task: Test Agent Deploy error

Please suggest the solution so that my coded ui starts running through TFS.

1

1 Answers

0
votes

You need to install Test Agent for Visual Studio 2013 on the test machine based on the Compatible versions of TFS,and test agent

Also there is a blog introduce the related issue :Test Agents support for Visual Studio 2015

So, just try to use Test Agent for VS 2013 instead of Test Agent 2015 Update 3, then try it again.