What is the single best open source automation too

2019-03-08 12:48发布

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条回答
疯言疯语
2楼-- · 2019-03-08 13:09

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

查看更多
Deceive 欺骗
3楼-- · 2019-03-08 13:19

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.

查看更多
劫难
4楼-- · 2019-03-08 13:20

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.

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.

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.

查看更多
唯我独甜
5楼-- · 2019-03-08 13:20

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.

The home page for robotframework is http://www.robotframework.org

查看更多
看我几分像从前
6楼-- · 2019-03-08 13:27

Watir is probably what you're looking for.

查看更多
孤傲高冷的网名
7楼-- · 2019-03-08 13:33

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)

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.

查看更多
登录 后发表回答