I wanted to check out a new open source tool for automated testing of a website. I prefer multi-browser support, even multi-platform.
我想查看一个用于自动测试网站的新开源工具。我更喜欢多浏览器支持,甚至是多平台。
8 个解决方案
#1
25
Selenium is a very good open source automated testing tool for websites. It can drive different web browers on different platforms, and tests can be written in a number of different languages. It also has a component called Selenium IDE, which is a Firefox extension that lets you create tests by actually driving the web browser, which is good for user acceptance tests.
Selenium是一个非常好的开源自动化测试工具,适用于网站。它可以在不同的平台上驱动不同的Web浏览器,并且可以用多种不同的语言编写测试。它还有一个名为Selenium IDE的组件,它是一个Firefox扩展,允许您通过实际驱动Web浏览器来创建测试,这对用户验收测试很有用。
#3
5
I've been googling for a comparison between various such tools and found the following links. They may be useful to you as well.
我一直在谷歌搜索各种这样的工具之间的比较,并找到以下链接。它们也可能对您有用。
http://www.infoq.com/news/2007/11/canoo-webtest-selenium-testing
http://mguillem.wordpress.com/2007/10/29/webtest-vs-selenium-webtest-wins-13-5/ (recommend this one since it compares based on some tangible parameters)
http://mguillem.wordpress.com/2007/10/29/webtest-vs-selenium-webtest-wins-13-5/(推荐这个,因为它根据一些有形参数进行比较)
My own views: I've used Canoo and thought it was excellent but its usage will require some familiarity with XML. Also, it doesn't support recording as Selenium does.
我自己的观点:我使用过Canoo并认为它非常出色,但它的使用需要熟悉XML。此外,它不支持像Selenium那样的录音。
#4
3
The question is a little subjective, especially given that there are quite a few open source web testing tools available. Your decision could be influenced by factors such as your current development environment and language proficiencies. So in addition to those already mentioned WatiN is worthy of consideration if you are a .NET shop.
这个问题有点主观,特别是考虑到有很多开源Web测试工具可用。您的决定可能会受到当前开发环境和语言能力等因素的影响。所以除了已经提到的那些,如果你是一个.NET商店,WatiN值得考虑。
#5
3
Another, very easy to use, alternative is iMAcros https://addons.mozilla.org/en-US/firefox/addon/3863
另一个非常容易使用的替代方案是iMAcros https://addons.mozilla.org/en-US/firefox/addon/3863
#6
2
If you are on the Java stack, JWebUnit is a very good choice IMO. It is written in Java, which makes it easy to reuse parts (login, logout, check for application error messages). You can also run multiple testers, which allows for tests of concurrent changes.
如果你在Java堆栈上,JWebUnit是一个非常好的选择IMO。它是用Java编写的,这使得重用部件变得容易(登录,注销,检查应用程序错误消息)。您还可以运行多个测试程序,以便测试并发更改。
I'm currently using it with the HtmlUnit engine as part of my builds on the continuous integration server. It can also drive Selenium for in-browser testing, but I haven't tried that.
我目前正在将它与HtmlUnit引擎一起使用,作为我在持续集成服务器上构建的一部分。它也可以驱动Selenium进行浏览器内测试,但我还没试过。
Prior to that I have used Canoo Webtest, but we found that it didn't scale too well. Writing reusable parts in XML was just too painful. The Groovy flavour might be better, but that wasn't around back then.
在此之前,我使用过Canoo Webtest,但我们发现它的扩展性不太好。用XML编写可重用的部分太痛苦了。 Groovy的味道可能会更好,但那不是那个时候。
#7
1
my answer is robotframework
我的回答是机器人框架
It's generic keyword driven framework, support selenium web driver too. As a developer you can create new keywords in java or python. I am using it to test web, database, web services.
它是通用的关键字驱动框架,也支持selenium web驱动程序。作为开发人员,您可以在java或python中创建新关键字。我用它来测试Web,数据库,Web服务。
The home page for robotframework is http://www.robotframework.org
robotframework的主页是http://www.robotframework.org
#8
0
I agree with Ycros. I tried Selenium before on Firefox and it gives great results. Its also very user friendly and easy to work with. I think is is little difficult to set up with IE though
我同意Ycros。我之前在Firefox上尝试过Selenium,它给出了很好的结果。它也非常用户友好,易于使用。我认为用IE建立起来有点困难
#1
25
Selenium is a very good open source automated testing tool for websites. It can drive different web browers on different platforms, and tests can be written in a number of different languages. It also has a component called Selenium IDE, which is a Firefox extension that lets you create tests by actually driving the web browser, which is good for user acceptance tests.
Selenium是一个非常好的开源自动化测试工具,适用于网站。它可以在不同的平台上驱动不同的Web浏览器,并且可以用多种不同的语言编写测试。它还有一个名为Selenium IDE的组件,它是一个Firefox扩展,允许您通过实际驱动Web浏览器来创建测试,这对用户验收测试很有用。
#2
#3
5
I've been googling for a comparison between various such tools and found the following links. They may be useful to you as well.
我一直在谷歌搜索各种这样的工具之间的比较,并找到以下链接。它们也可能对您有用。
http://www.infoq.com/news/2007/11/canoo-webtest-selenium-testing
http://mguillem.wordpress.com/2007/10/29/webtest-vs-selenium-webtest-wins-13-5/ (recommend this one since it compares based on some tangible parameters)
http://mguillem.wordpress.com/2007/10/29/webtest-vs-selenium-webtest-wins-13-5/(推荐这个,因为它根据一些有形参数进行比较)
My own views: I've used Canoo and thought it was excellent but its usage will require some familiarity with XML. Also, it doesn't support recording as Selenium does.
我自己的观点:我使用过Canoo并认为它非常出色,但它的使用需要熟悉XML。此外,它不支持像Selenium那样的录音。
#4
3
The question is a little subjective, especially given that there are quite a few open source web testing tools available. Your decision could be influenced by factors such as your current development environment and language proficiencies. So in addition to those already mentioned WatiN is worthy of consideration if you are a .NET shop.
这个问题有点主观,特别是考虑到有很多开源Web测试工具可用。您的决定可能会受到当前开发环境和语言能力等因素的影响。所以除了已经提到的那些,如果你是一个.NET商店,WatiN值得考虑。
#5
3
Another, very easy to use, alternative is iMAcros https://addons.mozilla.org/en-US/firefox/addon/3863
另一个非常容易使用的替代方案是iMAcros https://addons.mozilla.org/en-US/firefox/addon/3863
#6
2
If you are on the Java stack, JWebUnit is a very good choice IMO. It is written in Java, which makes it easy to reuse parts (login, logout, check for application error messages). You can also run multiple testers, which allows for tests of concurrent changes.
如果你在Java堆栈上,JWebUnit是一个非常好的选择IMO。它是用Java编写的,这使得重用部件变得容易(登录,注销,检查应用程序错误消息)。您还可以运行多个测试程序,以便测试并发更改。
I'm currently using it with the HtmlUnit engine as part of my builds on the continuous integration server. It can also drive Selenium for in-browser testing, but I haven't tried that.
我目前正在将它与HtmlUnit引擎一起使用,作为我在持续集成服务器上构建的一部分。它也可以驱动Selenium进行浏览器内测试,但我还没试过。
Prior to that I have used Canoo Webtest, but we found that it didn't scale too well. Writing reusable parts in XML was just too painful. The Groovy flavour might be better, but that wasn't around back then.
在此之前,我使用过Canoo Webtest,但我们发现它的扩展性不太好。用XML编写可重用的部分太痛苦了。 Groovy的味道可能会更好,但那不是那个时候。
#7
1
my answer is robotframework
我的回答是机器人框架
It's generic keyword driven framework, support selenium web driver too. As a developer you can create new keywords in java or python. I am using it to test web, database, web services.
它是通用的关键字驱动框架,也支持selenium web驱动程序。作为开发人员,您可以在java或python中创建新关键字。我用它来测试Web,数据库,Web服务。
The home page for robotframework is http://www.robotframework.org
robotframework的主页是http://www.robotframework.org
#8
0
I agree with Ycros. I tried Selenium before on Firefox and it gives great results. Its also very user friendly and easy to work with. I think is is little difficult to set up with IE though
我同意Ycros。我之前在Firefox上尝试过Selenium,它给出了很好的结果。它也非常用户友好,易于使用。我认为用IE建立起来有点困难