在测试代​​理上排队测试方案 [英] Queuing Test scenario on test agent

查看:61
本文介绍了在测试代​​理上排队测试方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了多个UI自动化测试.我有五个测试代理连接到我的测试控制器.我所有的测试都是由CSV驱动和数据驱动的.如何在特定代理上运行顺序方案?例如-

考虑我有三个测试Test1,Test2和Test3以及测试代理1(TA1),TA2和TA3

我在ClassInitialize方法中编写了启动应用程序逻辑和登录逻辑.现在创建了包含单个测试的三个方案.我要跑步

TA1上的场景1和场景2

TA2上的方案2和方案3

TA3上的方案1和方案3

  

 

解决方案

嗨Mukesh Kumar Chaurasiya,

据我所知,Visual Studio测试控制器将自动将测试划分为代理.例如,如果有250个测试和3个测试代理,则控制器会将前100个测试发送给Agent1,然后将100个测试发送给Agent2,最后将50个测试发送给 到Agents3.

请参考以下文档,其中介绍了如何对代理实施划分测试.

https://msdn.microsoft.com/en-us/library/ff469838.aspx

目前,Visual Studio Controller和测试代理无法将特定的测试划分为已分配的代理.建议您将需求提交给Visual Studio Connect,然后在此处共享反馈链接.我将对您的反馈意见进行投票,也可以让其他人 对此投票有相同要求并添加评论的社区.

最好的问候,
Weiwei


Hi, 

I have created multiple UI automation tests. I have five test agents connected to my test controller. My all tests are data driven and sourced by CSV. How can I run sequential scenarios on specific agent? For example-

Consider I have three tests Test1, Test2 and Test3 and Test Agent1(TA1), TA2 and TA3

I have written launch application logic and login logic inside ClassInitialize method. Now Created three scenarios containing individual tests. I want to run

Scenario1 and Scenario2 on TA1

Scenario2 and Scenario3 on TA2

Scenario1 and Scenario3 on TA3

  

 

解决方案

Hi Mukesh Kumar Chaurasiya,

As far as I know, Visual Studio Test Controller will divides tests to agents automatically. For example, if there has 250 tests and 3 Test agents, the Controller will sent the first 100 tests to Agent1, second 100 tests to Agent2 and the last 50 tests to Agents3.

Please refer to following document which introduce how to implement divide tests to agents.

https://msdn.microsoft.com/en-us/library/ff469838.aspx

At present, Visual Studio Controller and Test Agent could not divide specific tests to assigned agent. I suggest you submit your requirement to Visual Studio Connect and then share the feedback link here. I will vote your feedback and it also can let other communities who has the same requirement to vote and add comments for this feedback.

Best Regards,
Weiwei


这篇关于在测试代​​理上排队测试方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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