First, go to the official website to download three versions: Core, RC, and IDE.
Core is written for testing using Js.Code, RC version allows the use of. Net/Java/Ruby, etc.Programming LanguageTo write test code. Ide is a plug-in of Firefox that allows graphical operations. If I do. net, download the RC version.
Then open the selenium service. I was unable to pass the test because of the small amount of information on this stuff. I even couldn't even pass the self-contained demo. I checked it carefully. It turned out that the service was not opened! Depressed. It took more than an hour to find out! This service requires Java support and is depressing again... (Why not. Net !)
The next step is to write the test code, which is generally written together with the nunit test framework. The built-in demo is also written like this. For more information about the syntax, see the document.
The following is a referenceArticle:
Test-Driven Development Using Selenium and Castle
Http://www.infoq.com/cn/articles/Tutorial-TDD-Selenium
Automated Web Testing (2) Using Selenium
Http://www.cnblogs.com/dixin/archive/2009/02/07/automated-web-testing-2-using-selenium.html
SeleniumIntroduction
Http://www.javaeye.com/topic/107276
Automated Acceptance Test with Selenium
Http://www.ibm.com/developerworks/cn/java/wa-selenium-ajax/
SeleniumReference manual Chinese Translation
Http://calvin.javaeye.com/blog/24425
Automated Web Testing with selenium driven by. net
Http://codebetter.com/blogs/jeremy.miller/archive/2006/05/14/144666.aspx
Automatic Testing of ASP. NET web applications using Selenium
Http://www.stevetrefethen.com/blog/AutomatedTestingOfASPNETWebApplicationsUsingSelenium.aspx
Selenium usage
Http://softtest.chinaitlab.com/qita/777313.html
Selenium Study Notes
Http://zzkathy.javaeye.com/blog/158220
SeleniumReference manual
Http://fly-net-cn.javaeye.com/blog/76859
Use selenium for Acceptance Testing
Http://developer.51cto.com/art/200807/87909.htm
Chinese API of Selenium
Http://blog.csdn.net/lh9529/archive/2009/03/01/3946567.aspx
Selenium reference
Http://wiki.springside.org.cn/display/springside/Selenium+Reference
Seleniumsimple 1.2.pdf
Http://download.csdn.net/source/1097901
Selenium usage
Http://tech.it168.com/m/2008-04-22/200804222335263.shtml
Http://tech.it168.com/m/2008-04-22/200804222335263_1.shtml