从MTM 2013运行CodedUI [英] Run CodedUI from MTM 2013

查看:97
本文介绍了从MTM 2013运行CodedUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用MTM 2013运行codedUI测试用例

I want to run a codedUI test case using MTM 2013

到目前为止,这是我已经拥有的内容:

Here is what I already have so far:


  1. 我已经编码了UI测试用例来测试我的Web应用程序。

  1. I have codedUI test cases to test my web application.

这些测试用例的解决方案已经得到

The solution of these test cases has got nothing to do with my web application.

现在我用MTM 2013编写的测试用例很少(最初用于手动执行)。后来,我计划使用codedUI自动化这些测试用例,并将这些自动化测试用例与MTM测试用例相关联,这样我就不必打开VSTS来运行我的自动化测试用例。这也可以达到其他测试人员也可以使用MTM执行它们的目的。

Now I have few test cases written in MTM 2013 (initially for manual execution). Later I had plan to automate these Test Cases Using codedUI and associate these automated Test cases to MTM test cases so that I don't have to open VSTS to run my automated test cases. Also this may serve the purpose that any other tester can also execute them using MTM.

这是我所做的全部到目前为止:

Here is all I have done so far:


  1. 在我的TFS服务器中安装并配置了测试控制器。

  1. Installed and configured "Test Controller" in my TFS server.

在要执行自动测试用例的计算机上安装了测试代理。

Installed "Test Agent" on the machine I want to execute the automated test cases.

在MTM中成功创建了物理实验室环境。

Created Physical Lab Environment successfully in MTM.

将codedUI自动化与MTM中的测试用例相关联。

Associated the codedUI automation with test cases in MTM.

现在,当我在MTM中播放测试用例时,它给我一个错误消息 无法创建自动测试运行。需要与活动测试计划相关联的构建才能提交自动测试运行。

Now when I go to play test case in MTM, it gives me an error "Cannot create automated test run. A build associated with the active test plan is required to submit an automated test run."

可以帮我吗?这是我第一次使用MTM测试用例来关联codedUI自动测试用例。

Can you please help me with this. This is the first time I am using MTM test cases to associate codedUI automated test cases.

推荐答案

您需要将构建分配给您的包含计划的UI测试的测试计划。否则,它如何知道要运行哪个版本的测试以及正在测试哪个版本的编码?

You need to assign a build to your test plan that contains your Coded UI tests. Otherwise, how does it know which version of your tests to run, and which version of your coded is being tested?

MSDN: http://msdn.microsoft.com/en-us/library/dd490760(v = vs.100).aspx

这篇关于从MTM 2013运行CodedUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆