与硒webdriver的竹子 [英] Bamboo with selenium webdriver
问题描述
工具:Java,Selenium WebDriver,Maven,Git,Bamboo
Tools: Java, Selenium WebDriver, Maven, Git, Bamboo
我不知道如何运行我的测试用例下面是由Java写的和由maven构建并存储到Git存储库。 Bamboo不能打开一个真正的浏览器(IE,Firefox,chrome ..)
当我试图使用HTMLUnitdriver(无头浏览器)而不是一个真正的浏览器,但是HTMLUnitdriver的问题,它是无法正常工作实际上,它不能运行大多数测试场景,即使其他浏览器做的完美)。
I'm not sure how I can run my test-cases under Bamboo which are written by java and build by maven and stored into Git repository. Bamboo can't open a real browser (IE, Firefox, chrome..) It's worked when I tried to use HTMLUnitdriver (headless browser) instead of a real browser, BUT the problem with HTMLUnitdriver it is not functioning well (actually, it can't run most of the test scenarios even the other browsers do flawlessly).
我有Google,但找不到任何有关如何操作的资讯。
I've Google it but could not found any good information on how to do it.
推荐答案
您不应该在 Bamboo $ c $上运行任何测试c>服务器。 CI服务器不是要运行任何测试。它应该只控制如何执行测试。有多种方法来处理这个。
强烈建议使用Selenium Grid
。在同一个此处查看另一个主题主题
You should not run any test on Bamboo
server. CI server is not meant to run any tests on. It should only controls how the tests will be executed instead. There are multiple ways to handle this. Selenium Grid
is highly recommended. See another thread here on same topic
这篇关于与硒webdriver的竹子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!