简体   繁体   English

如何在 Mac 上使用 Jenkins 运行 selenium 测试用例?

[英]How do I run a selenium test case using Jenkins, on a mac?

Following this tutorial: https://www.softwaretestinghelp.com/integration-of-jenkins-with-selenium-webdriver/按照本教程: https://www.softwaretestinghelp.com/integration-of-jenkins-with-selenium-webdriver/

Its windows based and I am using a mac.它基于 windows,我使用的是 mac。 I have my test case written in java.我的测试用例是用 java 编写的。 It works fine when run using eclipse but I want to configure a build on jenkins to run it.使用 eclipse 运行时它工作正常,但我想在 jenkins 上配置一个构建来运行它。 Can someone help me?有人能帮我吗? The steps in the lesson don't work for me.本课中的步骤对我不起作用。

I have tried creating a shell file to run it but I am a bit unsure on how to do so.我曾尝试创建一个 shell 文件来运行它,但我有点不确定如何去做。

I managed to solve it using Maven!我设法使用Maven解决了它!

Just follow this tutorial as there is no point in me repeating these steps.只需按照本教程进行操作,因为我重复这些步骤毫无意义。

https://www.guru99.com/maven-jenkins-with-selenium-complete-tutorial.html Thanks https://www.guru99.com/maven-jenkins-with-selenium-complete-tutorial.html谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM