Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to fake a build in TFS 2012?

$
0
0

Hi,

Let me explain what I am trying to do first.

We have a windows application that's build from TeamCity.

Now we have developed a Coded UI Test project separately, and we would like to run the automation everytime a new build is available.

I have followed Microsoft's instruction and deployed a Team Foundation server, a Microsoft Task Manager, and lab environment following the link http://msdn.microsoft.com/en-us/library/vstudio/dd380741.aspx#link

I have created a test plan, a test suite, and some test cases, and associated the test cases with Coded UI Test methods. Now the next step is to actually run the Coded UI Test in one of the VM in lab environment I have configured.

Here comes to my problem:

I always need to select a build from TFS in order to run the Coded UI Test. Since our builds are not built within TFS, but from TeamCity, I was hoping TFS to have some level of ability to look for builds in a drop-off folder. So I read further on the Link I included above, and reach this line:

"

I’m not using Team Foundation Build to build my application and tests. How can I run automated lab tests?

Create a build definition that contains just the location where your assemblies are shared. Then create a fake instance of this build from the developer command prompt:

TfsCreateBuild.exe /collection:http://tfsservername:8080/tfs/collectionname /project: projectname /builddefinition:"MyBuildDefinition" /buildnumber:"FakeBuild_1.0"

Specify the build definition in your test plan.

"

However, the command "TfsCreateBuild.exe" does not exist. I cannot find the TfsCreateBuild.exe anywhere.

Any idea where to find this executable, or any other way to get around, so Test Manager always know what build to use for performing Coded UI Test, or EVENT run coded UI Test from Test Manager without a build?

Thanks,

Tony


Tony


Viewing all articles
Browse latest Browse all 6687

Trending Articles