Selenium 项目的建议 [英] Advice with Selenium Project
问题描述
这是一个 Java - Selenium(任何其他相关技术?)项目,我需要为一个朋友做,他在一个非盈利组织做志愿者.我应该创建一个应用程序来测试他们的网页.我更喜欢java、c、c++的服务器端.我的问题是有哪些可用的开源技术和框架可以帮助我构建一个健壮的测试框架,我需要为它们创建一个流程,以便任何具有 java 和 selenium 基础知识的未来志愿者都可以维护、添加新的测试必要的情况下.我读了一些关于 TestNG 的书,但现在确信它是最好的.
This is a Java - Selenium ( any other related technologies ?) project I need to do on the side for a friend, who volunteers at a non-profit organization. I am supposed to create an application to test their web pages. I am more into the server side of java, c, c++. My question is what are the open source technologies and frameworks available which will help me to build a robust test framework, I need to create a process for them, so that any future volunteers with basic knowledge of java and selenium can maintain, add new test cases as and when necessary. I read a little about TestNG but now sure that it is the best out there.
请提出构建 java selenium 测试框架的最佳实践
Please suggest best practices for building a java selenium test framework
推荐答案
- 使用 Selenium 2/WebDriver 作为浏览器自动化工具
- Geb + Spock 如果您可以使用 Groovy 否则 JUNIT + PageObject 模式
- Use Selenium 2/WebDriver as the browser automation tool
- Geb + Spock if you can use Groovy otherwise JUNIT + PageObject pattern
这篇关于Selenium 项目的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!