Web 程序测试是一项十分繁杂的工作,要面对无数的分支,整个过程十分枯燥,既浪费时间,又容易出错。
要是有一个自动化的测试程序就好了。
Selenium 就是这样一个基于浏览器的验收测试程序。
官方网站:http://www.openqa.org/selenium/
点击下载 selenium-ide-0.8.7.xpi 。
这里有演示视频:Selenium_IDE.swf 。
Selenium is a test tool for web applications. Selenium tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh. No other test tool covers such a wide array of platforms.
- Browser compatibility testing. Test your application to see if it works correctly on different browsers and operating systems. The same script can run on any Selenium platform.
- System functional testing. Create regression tests to verify application functionality and user acceptance.