[英]How to run Selenium Script (Junit) from Jenkins
I'm encountering some issues by executing Selenium Scripts from Jenkins, I'm totally beginner so I need many explanations if somenone can provide some... 我是通过执行Jenkins的Selenium Script遇到一些问题的,我完全是新手,所以如果有人可以提供一些帮助,我需要很多解释...
What should I do to manage to make in run through Jenkins ? 通过Jenkins,我应该如何做才能使比赛顺利进行?
I don't understand a lot so if you could give me as much as details as possible... 我不太了解,所以如果您能给我尽可能多的细节...
If I have to use maven, what are the configurations in Jenkins ? 如果必须使用Maven,Jenkins的配置是什么? Do i have to create a POM.xml ? 我必须创建一个POM.xml吗? If yes what to insert inside ? 如果是,要在其中插入什么? Where do I put it ? 我放在哪里?
If that's not the solution ? 如果那不是解决方案? what should I do ? 我该怎么办 ?
Thanks in advance ! 提前致谢 ! :-) :-)
If the Junit tests run properly on your workstation, then you must do the following: 如果Junit测试在您的工作站上正常运行,则必须执行以下操作:
integration-test
if you use Maven Failsafe plugin 确保您的应用程序被启动你的应用程序(如果你有一个Java应用程序,使用例如Maven的码头插件( http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin )。你可以紧,到integration-test
,如果你使用Maven故障安全插件 http://alex.nederlof.com/blog/2012/11/19/installing-selenium-with-jenkins-on-ubuntu/ provides setup details. http://alex.nederlof.com/blog/2012/11/19/installing-selenium-with-jenkins-on-ubuntu/提供了设置详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.