您的位置:软件测试 > 开源软件测试 > 开源功能测试工具 > Selenium
Selenium??开源的自动化测试框架
作者:网络转载 发布时间:[ 2013/12/11 10:18:55 ] 推荐标签:

Selenium是一个很好的多平台多浏览器的自动化测试框架,Selenium提供了2种运行模式——Core和Remote Control(RC),除此之外,ThoughtWorks还为Selenium提供了Firefox的Add-on——Selenium IDE以及RC模式的扩展Selenium Grid。现在的版本为Selenium 1.0 beta-1 released (March 5, 2008)

支持的平台和浏览器:

Supported Platforms:

    Windows:
        Internet Explorer 6.0 and 7.0
        Firefox 0.8 to 2.0
        Mozilla Suite 1.6+, 1.7+
        Seamonkey 1.0
        Opera 8 & 9

    Mac OS X:
        Safari 2.0.4+
        Firefox 0.8 to 2.0
        Camino 1.0a1
        Mozilla Suite 1.6+, 1.7+
        Seamonkey 1.0
    Not yet supported: OmniWeb

    Linux:
        Firefox 0.8 to 2.0
        Mozilla Suite 1.6+, 1.7+
        Konqueror
        Opera 8 & 9

Seleniumis a test tool for web applications. Selenium tests rundirectly in a browser, just like real users do. It runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac.  We have plans to target Safari on the iPhone in some months.

具体信息可以参见Selenium首页,http://selenium.openqa.org/

1、Selenium Core:http://selenium-core.openqa.org/

Core模式一般是通过编写HTML后加载到要测试的Web程序中

Core mode: The Javascrīpt core library and the tests in question are loaded into your webapp. It is a simpler form of Selenium, and suitable for non-developers, but it has some inherent limitations. Below is a simplified representation of the architecture.

Your tests scrīpts (written in HTML) and the Selenium Test Runner itself are uploaded to the same web server that hosts the application you are trying to test.  That suggests that you know how to deploy to that web server (or know someone who does).
You open a browser at a URL that will kick off the tests, and watch them run by.
Selenium Core works on muliple browsers - more than the three shown on the left.

2、Selenium RC:http://selenium-rc.openqa.org/

The Remote Control mode is more advanced. It is able to test a wider range of web-applications than Selenium-Core and is more scalable, but requires some technical knowledge to set up.  Below is a simplified architectural representation of it ..

上一页123下一页
软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd