您的位置:軟件測試 > 開源軟件測試 > 開源功能測試工具 > Selenium
Selenium??開源的自動(dòng)化測試框架
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/12/11 10:18:55 ] 推薦標(biāo)簽:

Selenium是一個(gè)很好的多平臺(tái)多瀏覽器的自動(dòng)化測試框架,Selenium提供了2種運(yùn)行模式——Core和Remote Control(RC),除此之外,ThoughtWorks還為Selenium提供了Firefox的Add-on——Selenium IDE以及RC模式的擴(kuò)展Selenium Grid,F(xiàn)在的版本為Selenium 1.0 beta-1 released (March 5, 2008)

支持的平臺(tái)和瀏覽器:

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下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd