每 5 分钟自动运行一次 Selenium 测试 [英] Run Selenium Test Automatically Every 5 minutes

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

问题描述

有没有办法让 selenium 测试自动化每五分钟运行一次?

Is there a way to automate a selenium test to run every five minutes?

推荐答案

如果您将测试打包为可执行文件,最简单的方法可能是运行 CRON 作业或 Windows 计划任务.

If you've got your tests packed as an executable the easiest way may be to run a CRON job or a Windows scheduled task.

也就是说,Hudson(或其他持续集成系统)几乎肯定是更好的长期策略.

That said, Hudson (or another continuous integration system) are almost certainly better long term strategies.

这篇关于每 5 分钟自动运行一次 Selenium 测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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