Selenium测试在上一次测试完成之前开始 [英] Selenium tests starts before previous test is done

查看:73
本文介绍了Selenium测试在上一次测试完成之前开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我有Tfs2015,但找不到那种类别,所以我选择了视觉工作室团队服务。

I have Tfs2015 but couldn't find that kind of category so I picked visual studio team services.

I想要在一个版本中运行自动化的selenium测试。

I want to run automated selenium tests in  a release.

我已经设置了一个版本定义和一个使用visual studio测试代理部署并运行功能测试的任务。

I have set up a release definition and a task that uses visual studio test agent deployment and run functional tests.

我运行发布并且测试从代理开始,设置中没有任何内容是错误的,工作正常=)

I run the release and the tests start on the agent, nothing in the setup is wrong, that is working fine =)

但是当测试开始时我可以看到当我连接到代理时,问题是第二次硒测试在第一次完成之前就开始了,这会导致问题,并使一些测试失败。

But when the tests starts I can see them when I connect to the agent, the problem is that the second selenium test starts before the first is done, which causes problems and makes some of the tests fail.

我想要硒测试要逐个运行,第二次测试不应该在第一次测试完成之后开始,这就是它在visual studio中的工作方式。 

I want the selenium tests to run one by one, the second test shouldn't start until the first test is done, this is how it works in visual studio. 

任何想法可能出错?

亲切的问候

Fredrik

推荐答案

你好,

感谢您与Microsoft论坛联系。我们很乐意回答您的问题。

Thank you for contacting Microsoft forums. We are pleased to answer your query.

您收到任何错误消息吗?如果是,请分享错误消息,以便我们更好地帮助您查询。

Are you getting any error message? If so, please share the error message so that we can assist you better on your query.

问候,


这篇关于Selenium测试在上一次测试完成之前开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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