MTM-在本地运行自动测试 [英] MTM - Running Automated Tests Locally

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

问题描述

大家好,我对测试/自动测试领域还很陌生,并且在这个问题上已经停留了一段时间了.

Hey guys, I'm pretty new to the world of testing/automated testing and I've been stuck on this issue for a while.

1.对于一个站点,我有一系列的回归测试,这些测试以单元测试的形式使用Selenium自动化.

1. I have a series of regression tests, for a site, automated using Selenium in the form of unit tests.

2.我目前正在使用Visual Studio 2015和Microsoft测试管理器2015,它们已与Team Services网站链接.

2. I am currently using Visual Studio 2015 and Microsoft test manager 2015, which I have linked with my Team Services site.

3.我有一个静态测试套件,其中包含一个测试用例,该测试用例链接到我的一个单元测试.

3. I have a static test suite, with a test case which is linked to one of my unit tests.

4.我已将此测试用例与Team Services网站上的构建相关联,该网站成功构建并成功运行了其中包含的两个单元测试.

4. I have associated this test case with a build on my Team Services site, which built successfully and ran the two unit tests it contained successfully.

我希望能够在本地计算机上通过MTM运行这些自动化测试,就像我只是通过Visual Studio本身运行它们,而只是从MTM驱动一样.我已经对此问题进行了大量研究,但还没有找到解决方案, 任何帮助将不胜感激!

I want to be able to run these automated tests through MTM on my local machine, as if i were simply running them through Visual Studio itself, but simply driven from MTM. I have done quite a bit of research on this isue, but I have yet to find a solution, any help would be greatly appreciated!

推荐答案

smcbwork,

Hi smcbwork,

感谢您的信息.

>>"我希望能够通过本地计算机上的MTM运行这些自动化测试.

如果您想在MTM中运行自动化测试.请按照以下步骤

If you wan to run your automated test in MTM.  Please follow the steps below

1.首先,您需要在本地计算机上安装测试控件和测试代理.

1.First you need to install the test control and test agent in your local machine.

2.配置测试代理和测试控件,并确保您的测试代理已连接到测试控件.

2. Configure the test agent and test control and make sure your test agent is connected to the test control.

3.创建一个标准实验室环境,然后在此实验室环境中运行测试.

3.Create a standard lab environment then run your test with this lab environment.

有关如何:使用Microsoft测试管理器在实验室环境中运行自动化测试"的详细信息,

For the detailed information about "How to: Run Automated Tests In a Lab Environment Using Microsoft Test Manager"

https://msdn.microsoft.com/en-us/library/dd553270(v = vs.110).aspx

最好的问候,

肖湖


这篇关于MTM-在本地运行自动测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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