首页 > 解决方案 > Selenium testing in a continuous integration pipeline

问题描述

I have a Selenium test written in the Java language. I want to integrate these tests with the VSTS Continuous Integration Pipeline build.

When the build happens these Selenium tests should run.

What tasks should be added to the CI & configure the Selenium tests?

Please also provide URLs for details.

I searched on Google, but most of the Selenium tests used are written in .NET.

标签: javaseleniumcontinuous-integrationdevopsazure-pipelines

解决方案


如果测试需要以交互方式运行,您需要设置一个具有交互模式的私有构建代理。(例如在 Windows 上部署一个代理),然后通过这个构建代理运行测试。

有可以运行 java 测试的 Maven 任务。查看这篇文章以获取更多信息:使用 VSTS 测试 Java 应用程序


推荐阅读